openGPMP
Open Source Mathematics Package
|
Classes | |
class | LCG |
Linear Congruential Generator. More... | |
Functions | |
uint32_t | rotr32 (uint32_t x, unsigned r) |
uint32_t | pcg32 (void) |
void | pcg32_init (uint64_t seed) |
uint32_t gpmp::core::rndm::pcg32 | ( | void | ) |
Definition at line 138 of file random.cpp.
References __PCG_INCR, __PCG_MULTPLR, __PCG_STATE, and rotr32().
Referenced by pcg32_init().
void gpmp::core::rndm::pcg32_init | ( | uint64_t | seed | ) |
uint32_t gpmp::core::rndm::rotr32 | ( | uint32_t | x, |
unsigned | r | ||
) |
Definition at line 134 of file random.cpp.
Referenced by pcg32().