List of all members
blaze::Random< Type > Class Template Reference

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.
 

Detailed Description

template<typename Type>
class blaze::Random< Type >

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


The documentation for this class was generated from the following file: