#include <Random.hh>
Inheritance diagram for RazorBack::Randomnorm_:


Public Methods | |
| Randomnorm_ (int S1=0, int S2=0) | |
| Init with the seeds S1, S2. More... | |
| double | operator() (void) const |
| operator(): returns a random double value with zero mean and unit variance (std normal distribution). | |
| double | rnd_msd (double M, double S) const |
| rnd_msd(M, S): returns a random value from a normal distribution with mean M and standard deviation S. More... | |
Definition at line 95 of file Random.hh.
|
|
Init with the seeds S1, S2. If S1==0 (default), then getpid() is used as seed. If S2==0 (default), then time(NULL) is used as seed. |
|
|
operator(): returns a random double value with zero mean and unit variance (std normal distribution).
Reimplemented from RazorBack::Randombase_. Referenced by rnd_msd(). |
|
|
rnd_msd(M, S): returns a random value from a normal distribution with mean M and standard deviation S. No checks. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001