git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
47 lines
1.6 KiB
TeX
47 lines
1.6 KiB
TeX
\section{eo\-Neg\-Exp\-Init$<$ T $>$ Class Template Reference}
|
|
\label{classeo_neg_exp_init}\index{eoNegExpInit@{eoNegExpInit}}
|
|
The class {\bf negexp\_\-generator}{\rm (p.\,\pageref{classnegexp__generator})} can be used in the STL generate function to easily generate negative exponential distributed floats and doubles.
|
|
|
|
|
|
{\tt \#include $<$eo\-Uniform\-Init.h$>$}
|
|
|
|
Inheritance diagram for eo\-Neg\-Exp\-Init$<$ T $>$::\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[height=4cm]{classeo_neg_exp_init}
|
|
\end{center}
|
|
\end{figure}
|
|
\subsection*{Public Member Functions}
|
|
\begin{CompactItemize}
|
|
\item
|
|
{\bf eo\-Neg\-Exp\-Init} (T \_\-mean=1.0, {\bf eo\-Rng} \&\_\-rng=rng)\label{classeo_neg_exp_init_a0}
|
|
|
|
\item
|
|
void {\bf operator()} (T \&\_\-t)\label{classeo_neg_exp_init_a1}
|
|
|
|
\begin{CompactList}\small\item\em The pure virtual function that needs to be implemented by the subclass. \item\end{CompactList}\end{CompactItemize}
|
|
\subsection*{Private Attributes}
|
|
\begin{CompactItemize}
|
|
\item
|
|
T {\bf mean}\label{classeo_neg_exp_init_r0}
|
|
|
|
\item
|
|
{\bf eo\-Rng} \& {\bf negexp}\label{classeo_neg_exp_init_r1}
|
|
|
|
\end{CompactItemize}
|
|
|
|
|
|
\subsection{Detailed Description}
|
|
\subsubsection*{template$<$class T = double$>$ class eo\-Neg\-Exp\-Init$<$ T $>$}
|
|
|
|
The class {\bf negexp\_\-generator}{\rm (p.\,\pageref{classnegexp__generator})} can be used in the STL generate function to easily generate negative exponential distributed floats and doubles.
|
|
|
|
The user can supply a mean.
|
|
|
|
|
|
|
|
Definition at line 143 of file eo\-Uniform\-Init.h.
|
|
|
|
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
|
\item
|
|
eo\-Uniform\-Init.h\end{CompactItemize}
|