#include <mmdb_math_rand.h>
Public Member Functions | |
| RandomNumber (long IJ=0, long KL=0) | |
| void | Init (long IJ=0, long KL=0) |
| realtype | gauss_rnd () |
| Gaussian random numbers. | |
| realtype | random () |
| Uniform [0..1] random number generator. | |
| realtype | srandom () |
| Uniform [-1..1] random number generator. | |
| void | read (io::RFile f) |
| void | write (io::RFile f) |
Protected Attributes | |
| long | I97 |
| long | J97 |
| realtype | U [97] |
| realtype | C |
| realtype | CD |
| realtype | CM |
| realtype | gset |
| long | iset |
| mmdb::math::RandomNumber::RandomNumber | ( | long | IJ = 0, |
| long | KL = 0 |
||
| ) |
| realtype mmdb::math::RandomNumber::gauss_rnd | ( | ) |
Gaussian random numbers.
| void mmdb::math::RandomNumber::Init | ( | long | IJ = 0, |
| long | KL = 0 |
||
| ) |
| realtype mmdb::math::RandomNumber::random | ( | ) |
Uniform [0..1] random number generator.
| void mmdb::math::RandomNumber::read | ( | io::RFile | f ) |
| realtype mmdb::math::RandomNumber::srandom | ( | ) |
Uniform [-1..1] random number generator.
| void mmdb::math::RandomNumber::write | ( | io::RFile | f ) |
realtype mmdb::math::RandomNumber::C [protected] |
realtype mmdb::math::RandomNumber::CD [protected] |
realtype mmdb::math::RandomNumber::CM [protected] |
realtype mmdb::math::RandomNumber::gset [protected] |
long mmdb::math::RandomNumber::I97 [protected] |
long mmdb::math::RandomNumber::iset [protected] |
long mmdb::math::RandomNumber::J97 [protected] |
realtype mmdb::math::RandomNumber::U[97] [protected] |
1.7.2