\section{negexp\_\-generator$<$ T $>$ Class Template Reference}
\label{classnegexp__generator}\index{negexp_generator@{negexp\_\-generator}}
The class negexp\_\-generator can be used in the STL generate function to easily generate negative exponential distributed floats and doubles.  


{\tt \#include $<$rnd\_\-generators.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf negexp\_\-generator} (T \_\-mean=1.0, {\bf eo\-Rng} \&\_\-rng=rng)\label{classnegexp__generator_a0}

\item 
T {\bf operator()} (void)\label{classnegexp__generator_a1}

\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
T {\bf mean}\label{classnegexp__generator_r0}

\item 
{\bf eo\-Rng} \& {\bf negexp}\label{classnegexp__generator_r1}

\end{CompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class T = double$>$ class negexp\_\-generator$<$ T $>$}

The class negexp\_\-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 156 of file rnd\_\-generators.h.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
rnd\_\-generators.h\end{CompactItemize}
