Utility functions.
Functions | |
uint32_t | intrand (cRNG *rng, uint32_t r) |
Produces a random integer in the range [0,r) using the RNG given with its index. More... | |
double | dblrand (cRNG *rng) |
Produces a random double in the range [0,1) using the RNG given with its index. More... | |
|
inline |
Produces a random integer in the range [0,r) using the RNG given with its index.
References cRNG::intRand().
|
inline |
Produces a random double in the range [0,1) using the RNG given with its index.
References cRNG::doubleRand().