ODIN
|
#include <tjnumeric.h>
Public Member Functions | |
double | gaussian (double stdev) const |
double | uniform () const |
Calculate random number distributions, the generator is seeded once upon construction using the system time.
Definition at line 43 of file tjnumeric.h.
double RandomDist::gaussian | ( | double | stdev | ) | const |
Calculate Gaussian distribution with given standard deviation, uses GSL random number generator
double RandomDist::uniform | ( | ) | const |
Calculate uniformly distributed random number in range [0,1), uses GSL random number generator