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 91 of file random-coll.c.
References BETA_TURNING_POINT, p_dGammaGen(), p_dUniform(), and pow().
| double p_dExponential | ( | double | lambda, | |
| unsigned int * | seed | |||
| ) |
Definition at line 189 of file random-coll.c.
References log(), and p_dUniform().
Referenced by TGo4MbsRandom::rand_event().
| double p_dGammaGen | ( | double | A, | |
| unsigned * | seed | |||
| ) |
Definition at line 282 of file random-coll.c.
References b, exp(), floor(), log(), p_dGammaInt(), p_dUniform(), pow(), sqrt(), and tan().
Referenced by p_dBeta().
| double p_dGammaInt | ( | int | a, | |
| unsigned int * | seed | |||
| ) |
Definition at line 240 of file random-coll.c.
References exp(), GAMMA_TURNING_POINT, log(), p_dUniform(), sqrt(), and tan().
Referenced by p_dGammaGen().
| double p_dNormal | ( | double | mean, | |
| double | sigma, | |||
| unsigned int * | seed | |||
| ) |
Definition at line 404 of file random-coll.c.
References log(), p_dUniform(), and sqrt().
Referenced by TGo4MbsRandom::rand_event().
| double p_dUniform | ( | unsigned * | seed | ) |
| int p_iBinomial | ( | double | p, | |
| int | n, | |||
| unsigned int * | seed | |||
| ) |
Definition at line 148 of file random-coll.c.
References p_dUniform().
| int p_iGeometric | ( | double | p, | |
| unsigned int * | seed | |||
| ) |
Definition at line 368 of file random-coll.c.
References ceil(), GEOMETRIC_TURNING_POINT, log(), and p_dUniform().
| int p_iPoisson | ( | double | mu, | |
| unsigned * | seed | |||
| ) |
Definition at line 439 of file random-coll.c.
References exp(), and p_dUniform().
1.7.1