DUNE: Uniform Navigational Environment
2017.01.0
|
Factory of PRNGS.
Static Public Member Functions | |
static Generator * | create (const std::string &id, int32_t seed=-1) |
Static Public Attributes | |
static const char * | c_drand48 |
static const char * | c_fsr256 |
static const char * | c_default |
static const char * | c_mt19937 |
static const char * | c_krng |
|
static |
Create generator with given seed.
If seed is negative and the generator is not "krng" a random seed will be generated.
References DUNE::Math::Random::Generator::arbitrarySeed(), c_krng, DUNE::Math::Random::DRand48, DUNE::Math::Random::G_DRAND48, DUNE::Math::Random::G_FSR256, DUNE::Math::Random::G_KRNG, DUNE::Math::Random::G_MT19937, DUNE::Math::Random::KernelDevice, and DUNE::Math::Random::MT19937.
|
static |
"fsr256"
|
static |
"drand48"
|
static |
"fsr256"
|
static |
"krng"
Referenced by create().
|
static |
"mt19337"