Functions | |
scalar | Gauss (void) |
Generates a (pseudo-)random number with a Gaussian distribution. | |
scalar | Ran (void) |
Generates a (pseudo-)random number between zero and one. | |
void | SetGaussPars (scalar mean, scalar stddev) |
Sets the seed for the random number generation algorithm. | |
void | SetRanSeed (scalar seed) |
Sets the seed for the random number generation algorithm. |
|
Generates a (pseudo-)random number with a Gaussian distribution.
|
|
Generates a (pseudo-)random number between zero and one.
ran3 procedure as described in the Numerical Recipies. |
|
Sets the seed for the random number generation algorithm.
|
|
Sets the seed for the random number generation algorithm.
|