Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
bc1f453978
commit
c3aec878e5
3609 changed files with 342772 additions and 0 deletions
45
trunk/paradiseo-eo/doc/latex/classuniform__generator.tex
Normal file
45
trunk/paradiseo-eo/doc/latex/classuniform__generator.tex
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
\section{uniform\_\-generator$<$ T $>$ Class Template Reference}
|
||||
\label{classuniform__generator}\index{uniform_generator@{uniform\_\-generator}}
|
||||
The class uniform\_\-generator can be used in the STL generate function to easily generate random floats and doubles either in [0, \_\-max) if only 1 value (\_\-max) is given (or none, as \_\-max defaults to 1.0) or in [\_\-min,\_\-max) if 2 values are given (\_\-min, \_\-max).
|
||||
|
||||
|
||||
{\tt \#include $<$rnd\_\-generators.h$>$}
|
||||
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf uniform\_\-generator} (T \_\-max=T(1.0), {\bf eo\-Rng} \&\_\-rng=rng)\label{classuniform__generator_a0}
|
||||
|
||||
\item
|
||||
{\bf uniform\_\-generator} (T \_\-min, T \_\-max, {\bf eo\-Rng} \&\_\-rng=rng)\label{classuniform__generator_a1}
|
||||
|
||||
\item
|
||||
T {\bf operator()} (void)\label{classuniform__generator_a2}
|
||||
|
||||
\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
T {\bf minim}\label{classuniform__generator_r0}
|
||||
|
||||
\item
|
||||
T {\bf range}\label{classuniform__generator_r1}
|
||||
|
||||
\item
|
||||
{\bf eo\-Rng} \& {\bf uniform}\label{classuniform__generator_r2}
|
||||
|
||||
\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class T = double$>$ class uniform\_\-generator$<$ T $>$}
|
||||
|
||||
The class uniform\_\-generator can be used in the STL generate function to easily generate random floats and doubles either in [0, \_\-max) if only 1 value (\_\-max) is given (or none, as \_\-max defaults to 1.0) or in [\_\-min,\_\-max) if 2 values are given (\_\-min, \_\-max).
|
||||
|
||||
|
||||
|
||||
Definition at line 44 of file rnd\_\-generators.h.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
rnd\_\-generators.h\end{CompactItemize}
|
||||
Loading…
Add table
Add a link
Reference in a new issue