![]() |
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 boost library is used per default. For more information see the class description of the boost 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 boost library is used per default. For more information see the class description of the boost library:
http://www.boost.org/doc/libs/1_35_0/libs/random/random-generators.html#mersenne_twister
http://www.boost.org/doc/libs/1_35_0/boost/random/mersenne_twister.hpp