\hypertarget{classuniform__generator}{}\doxysection{uniform\+\_\+generator$<$ T $>$ Class Template Reference}
\label{classuniform__generator}\index{uniform\_generator$<$ T $>$@{uniform\_generator$<$ T $>$}}


{\ttfamily \#include $<$rnd\+\_\+generators.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classuniform__generator_a79779fb6d6c9c1774df5b4c8f69cab23}\label{classuniform__generator_a79779fb6d6c9c1774df5b4c8f69cab23}} 
{\bfseries uniform\+\_\+generator} (T \+\_\+max=T(1.\+0), \mbox{\hyperlink{classeo_rng}{eo\+Rng}} \&\+\_\+rng=rng)
\item 
\mbox{\Hypertarget{classuniform__generator_a37942766d116bd7b65e2c25caee44eab}\label{classuniform__generator_a37942766d116bd7b65e2c25caee44eab}} 
{\bfseries uniform\+\_\+generator} (T \+\_\+min, T \+\_\+max, \mbox{\hyperlink{classeo_rng}{eo\+Rng}} \&\+\_\+rng=rng)
\item 
\mbox{\Hypertarget{classuniform__generator_a059de5572898ee3de412f3f4c32df0c6}\label{classuniform__generator_a059de5572898ee3de412f3f4c32df0c6}} 
T {\bfseries operator()} (void)
\item 
\mbox{\Hypertarget{classuniform__generator_a79779fb6d6c9c1774df5b4c8f69cab23}\label{classuniform__generator_a79779fb6d6c9c1774df5b4c8f69cab23}} 
{\bfseries uniform\+\_\+generator} (T \+\_\+max=T(1.\+0), \mbox{\hyperlink{classeo_rng}{eo\+Rng}} \&\+\_\+rng=rng)
\item 
\mbox{\Hypertarget{classuniform__generator_a37942766d116bd7b65e2c25caee44eab}\label{classuniform__generator_a37942766d116bd7b65e2c25caee44eab}} 
{\bfseries uniform\+\_\+generator} (T \+\_\+min, T \+\_\+max, \mbox{\hyperlink{classeo_rng}{eo\+Rng}} \&\+\_\+rng=rng)
\item 
\mbox{\Hypertarget{classuniform__generator_a059de5572898ee3de412f3f4c32df0c6}\label{classuniform__generator_a059de5572898ee3de412f3f4c32df0c6}} 
T {\bfseries operator()} (void)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$class T = double$>$\newline
class uniform\+\_\+generator$<$ T $>$}

The class \mbox{\hyperlink{classuniform__generator}{uniform\+\_\+generator}} can be used in the S\+TL generate function to easily generate random floats and doubles either in \mbox{[}0, \+\_\+max) if only 1 value (\+\_\+max) is given (or none, as \+\_\+max defaults to 1.\+0) or in \mbox{[}\+\_\+min,\+\_\+max) if 2 values are given (\+\_\+min, \+\_\+max) 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
deprecated/eo/src/utils/rnd\+\_\+generators.\+h\end{DoxyCompactItemize}
