Utility functions¶
|
API
|
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. | |
| double | dblrand (cRNG *rng) |
| Produces a random double in the range [0,1) using the RNG given with its index. | |
Description
Utility functions.
Function Documentation
◆ intrand()
|
inline |
Produces a random integer in the range [0,r) using the RNG given with its index.
References cRNG::intRand().
◆ dblrand()
|
inline |
Produces a random double in the range [0,1) using the RNG given with its index.
References cRNG::doubleRand().
Generated on for API by