GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
Go to the source code of this file.
Functions | |
double | p_dBeta (double a, double b, unsigned int *seed) |
int | p_iBinomial (double p, int n, unsigned int *seed) |
double | p_dExponential (double lambda, unsigned int *seed) |
double | p_dGammaInt (int a, unsigned int *seed) |
double | p_dGammaGen (double A, unsigned *seed) |
int | p_iGeometric (double p, unsigned int *seed) |
double | p_dNormal (double mean, double sigma, unsigned int *seed) |
int | p_iPoisson (double mu, unsigned *seed) |
unsigned | p_iUniform (unsigned *seed) |
double | p_dUniform (unsigned *seed) |
double p_dBeta | ( | double | a, |
double | b, | ||
unsigned int * | seed | ||
) |
Definition at line 141 of file random-coll.c.
References go4init::a, BETA_TURNING_POINT, p_dGammaGen(), and p_dUniform().
double p_dExponential | ( | double | lambda, |
unsigned int * | seed | ||
) |
Definition at line 234 of file random-coll.c.
References p_dUniform().
Referenced by TGo4MbsRandom::rand_event().
double p_dGammaGen | ( | double | A, |
unsigned * | seed | ||
) |
Definition at line 316 of file random-coll.c.
References go4init::a, p_dGammaInt(), and p_dUniform().
Referenced by p_dBeta().
double p_dGammaInt | ( | int | a, |
unsigned int * | seed | ||
) |
Definition at line 276 of file random-coll.c.
References GAMMA_TURNING_POINT, and p_dUniform().
Referenced by p_dGammaGen().
double p_dNormal | ( | double | mean, |
double | sigma, | ||
unsigned int * | seed | ||
) |
Definition at line 429 of file random-coll.c.
References p_dUniform().
Referenced by TGo4MbsRandom::rand_event().
double p_dUniform | ( | unsigned * | seed | ) |
Definition at line 126 of file random-coll.c.
References _Cons, _Hi, _Lo, _Mult, and Scal.
Referenced by p_dBeta(), p_dExponential(), p_dGammaGen(), p_dGammaInt(), p_dNormal(), p_iBinomial(), p_iGeometric(), p_iPoisson(), and TGo4MbsRandom::rand_event().
int p_iBinomial | ( | double | p, |
int | n, | ||
unsigned int * | seed | ||
) |
Definition at line 196 of file random-coll.c.
References p_dUniform().
int p_iGeometric | ( | double | p, |
unsigned int * | seed | ||
) |
Definition at line 399 of file random-coll.c.
References GEOMETRIC_TURNING_POINT, and p_dUniform().
int p_iPoisson | ( | double | mu, |
unsigned * | seed | ||
) |
Definition at line 460 of file random-coll.c.
References p_dUniform().