Compounds | |
class | Timer |
Functions | |
void | SetGenRand (unsigned long seed) |
double | GenRand () |
double | GenRand (double lo, double hi) |
double | GaussRand () |
double | GaussRand (double mean, double stdev) |
|
Draws one pseudo-random real number (double) from a normal distribution with the mean mean and standard deviation stdev. Definition at line 127 of file Rnd_no_gen.cpp. |
|
Draws one pseudo-random real number (double) from a normal distribution with mean 0 and standard deviation 1. Definition at line 105 of file Rnd_no_gen.cpp. Referenced by GaussRand(), and Noise().
|
|
Draws one pseudo-random real number (double) in the range [lo, hi] from a uniform distribution. Definition at line 91 of file Rnd_no_gen.cpp. |
|
Draws one pseudo-random real number (double) in the range [0, 1] from a uniform distribution. Definition at line 57 of file Rnd_no_gen.cpp. Referenced by GaussRand(), GenRand(), and Noise().
|
|
Sets the seed of the random number generator. SetGenRand(seed) must be called at least once before any other function from this library that generates random numbers. Definition at line 50 of file Rnd_no_gen.cpp. |