static CRandomGenerator randomGenerator
A thred-safe pseudo random number generator, based on an internal MT19937 randomness generator.
void randomize()
Randomize the generators, based on std::random_device.
std::normal_distribution< double > m_normdistribution
double drawGaussian1D_normalized()
Generate a normalized (mean=0, std=1) normally distributed sample.
uint32_t drawUniform32bit()
Generate a uniformly distributed pseudo-random number using the MT19937 algorithm,...
uint64_t drawUniform64bit()
Returns a uniformly distributed pseudo-random number by joining two 32bit numbers from drawUniform32b...
void MT19937_initializeGenerator(const uint32_t &seed)
std::uniform_int_distribution< uint64_t > m_uint64
std::uniform_int_distribution< uint32_t > m_uint32
std::mt19937_64 m_MT19937
Data used internally by the MT19937 PRNG algorithm.
A namespace of pseudo-random numbers generators of diferent distributions.
CRandomGenerator & getRandomGenerator()
A static instance of a CRandomGenerator class, for use in single-thread applications.
unsigned __int32 uint32_t
unsigned __int64 uint64_t