Blaze  3.6
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 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.
 

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 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:

http://en.cppreference.com/w/cpp/numeric/random


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