  Here is an example of constructing and using a
<CODE>Normal</CODE> generator:
</P><P>

<TABLE><tr><td>&nbsp;</td><td class=example><pre>#include &#60;random/normal.h&#62;

using namespace ranlib;

void foo()
{
    Normal&#60;double&#62; normalGen;
    double x = normalGen.random();    // x is a normal random number
}
</pre></td></tr></table></P><P>

<HR SIZE="6">
<A NAME="SEC144"></A>
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="blitz_9.html#SEC143"> &lt; </A