|
numerics 0.1.0
|
Seeded pseudo-random number generator (Mersenne Twister). Pass a pointer to rng_* functions to draw samples. More...
#include <math.hpp>
Public Member Functions | |
| Rng (uint32_t seed) | |
| Rng () | |
| Seed from hardware entropy. | |
Public Attributes | |
| std::mt19937 | engine |
Seeded pseudo-random number generator (Mersenne Twister). Pass a pointer to rng_* functions to draw samples.
| std::mt19937 num::Rng::engine |
Definition at line 282 of file math.hpp.
Referenced by num::rng_int(), num::rng_normal(), and num::rng_uniform().