OpenMPCD
Classes | Typedefs
OpenMPCD::CUDA::Random::Generators Namespace Reference

Contains (pseudo-)random number generators. More...

Classes

class  LinearCongruent
 A linear congruential generator (LCG). More...
 
class  Philox4x32_10
 Philox4x32-10 [18] counter-bases PRNG. More...
 

Typedefs

typedef LinearCongruent< boost::uint_fast32_t, 48271, 0, 2147483647 > minstd_rand
 Generator corresponding to std::minstd_rand. More...
 
typedef LinearCongruent< boost::uint_fast32_t, 16807, 0, 2147483647 > minstd_rand0
 Generator corresponding to std::minstd_rand0. More...
 

Detailed Description

Contains (pseudo-)random number generators.

Typedef Documentation

◆ minstd_rand

typedef LinearCongruent<boost::uint_fast32_t, 48271, 0, 2147483647> OpenMPCD::CUDA::Random::Generators::minstd_rand

Generator corresponding to std::minstd_rand.

Definition at line 25 of file minstd.hpp.

◆ minstd_rand0

typedef LinearCongruent<boost::uint_fast32_t, 16807, 0, 2147483647> OpenMPCD::CUDA::Random::Generators::minstd_rand0

Generator corresponding to std::minstd_rand0.

Definition at line 29 of file minstd.hpp.