Collaboration diagram for Random Number Generators:
![]() |
A number generator is a function object with an operator() that takes zero arguments and returns a number.
A compliant random number generator must satisy the following requirements.
To be documented. |
typedef linear_congruential<unsigned long, 48271, 0, 2147483647> std::tr1::minstd_rand |
typedef linear_congruential<unsigned long, 16807, 0, 2147483647> std::tr1::minstd_rand0 |
typedef mersenne_twister< unsigned long, 32, 624, 397, 31, 0x9908b0dful, 11, 7, 0x9d2c5680ul, 15, 0xefc60000ul, 18 > std::tr1::mt19937 |
typedef discard_block< subtract_with_carry<unsigned long, (1UL << 24), 10, 24>, 223, 24 > std::tr1::ranlux3 |
typedef discard_block< subtract_with_carry<unsigned long, (1UL << 24), 10, 24>, 389, 24 > std::tr1::ranlux4 |