\section{Normal Class Reference}
\label{class_normal}\index{Normal@{Normal}}
Normal class which samples random numbers from a normal distribution using the Box-Muller transform.  


\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Normal} ()\label{class_normal_ab45516864b52e459d9f43583f71787d}

\begin{CompactList}\small\item\em class constructor. \item\end{CompactList}\item 
double {\bf sample} (double m=0.0, double s=1.0)\label{class_normal_b3a6ecc169a4b1c99a2dd4702b58ce1d}

\begin{CompactList}\small\item\em given a mean m and std dev s, return a sample from a normal distribution. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Member Functions}
\begin{CompactItemize}
\item 
double {\bf Random} ()\label{class_normal_b6dfe1b9ac2a16c4a9574d3488f8ad3e}

\begin{CompactList}\small\item\em this method returns a random number in the range [0.0 ... 1.0]. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
bool {\bf m\-Valid}\label{class_normal_ab06c0b5fe02af09e4f911d76aaee4b2}

\begin{CompactList}\small\item\em has the second random number been cached? \item\end{CompactList}\item 
double {\bf m\-X2}\label{class_normal_c63cbfb4ba74ca1aac88adc235ea2711}

\begin{CompactList}\small\item\em this method generates pairs of random numbers, caching the second one here. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Normal class which samples random numbers from a normal distribution using the Box-Muller transform. 



The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
{\bf main.cpp}\end{CompactItemize}
