![]() |
Random number generator.The Random class encapsulates the initialization of the given random number generator with a pseudo-random seed obtained by the std::time() function. Currently, the mersenne-twister mt19937 as provided by the C++ standard library is used per default. For more information see the for instance the following documentation of the random number functionality of the C++11 standard library: More...
#include <Random.h>
Inherits blaze::NonCreatable.
Static Private Attributes | |
Member variables | |
static uint32_t | seed_ |
The current seed for the variate generator. | |
static Type | rng_ |
The mersenne twister variate generator. | |
Random number generator.
The Random class encapsulates the initialization of the given random number generator with a pseudo-random seed obtained by the std::time() function. Currently, the mersenne-twister mt19937 as provided by the C++ standard library is used per default. For more information see the for instance the following documentation of the random number functionality of the C++11 standard library: