Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

NormalRandom Class Reference

#include <RandomNumbers.h>

List of all members.

Public Methods

 NormalRandom (int seed=TimeSeed())
void reseed (int seed)
float rand ()
int rand (int mean, int stddev)

Private Attributes

UniformRandom uniformDeviates
int iset
float gset

Friends

ostream& operator< (ostream &ostr, const NormalRandom &noRand)
istream& operator> (istream &istr, NormalRandom &noRand)


Constructor & Destructor Documentation

NormalRandom::NormalRandom ( int seed = TimeSeed() ) [inline]
 

Definition at line 109 of file RandomNumbers.h.


Member Function Documentation

void NormalRandom::reseed ( int seed ) [inline]
 

Definition at line 111 of file RandomNumbers.h.

float NormalRandom::rand ( )
 

int NormalRandom::rand ( int mean,
int stddev )
 


Friends And Related Function Documentation

ostream & operator< ( ostream & ostr,
const NormalRandom & noRand ) [friend]
 

Definition at line 132 of file RandomNumbers.h.

istream & operator> ( istream & istr,
NormalRandom & noRand ) [friend]
 

Definition at line 139 of file RandomNumbers.h.


Member Data Documentation

UniformRandom NormalRandom::uniformDeviates [private]
 

Definition at line 148 of file RandomNumbers.h.

int NormalRandom::iset [private]
 

Definition at line 149 of file RandomNumbers.h.

float NormalRandom::gset [private]
 

Definition at line 150 of file RandomNumbers.h.


The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:50:00 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001