20 void seed(
const unsigned int)
override;
22 void discard(
const unsigned long long skip)
override;
27 static constexpr
unsigned int min() {
return std::mt19937::min(); }
30 static constexpr
unsigned int max() {
return std::mt19937::max(); }
Mersenne Twister random number generator algorithm.
Definition: mtrandom.h:9
void seed(const unsigned int) override
Sets the current state of the generator engine.
Definition: mtrandom.cpp:17
static constexpr unsigned int min()
Gets the smallest possible value in the output range.
Definition: mtrandom.h:27
MTRandom32()
Initialise a new instance of the MTRandom32 class.
Definition: mtrandom.cpp:8
unsigned int operator()() override
Generates the next random number.
Definition: mtrandom.cpp:15
void discard(const unsigned long long skip) override
Advances the engine's state by a specified amount.
Definition: mtrandom.cpp:19
double next_double() noexcept override
Generates a random floating point number in range [0,1)
Definition: mtrandom.cpp:21
static constexpr unsigned int max()
Gets the largest possible value in the output range.
Definition: mtrandom.h:30
Pseudo-random number generator algorithm interface.
Definition: randombit_generator.h:9
Top-level namespace for Health-GPS C++ API.
Definition: analysis_definition.h:8