MIXMAX random number generator. More...
#include <Mixmax.hh>
Public Member Functions | |
Mixmax ()=default | |
Mixmax (long seed) | |
Constructor with explicit seed. More... | |
double | flat () override |
Generate pseudorandom number between 0 and 1. More... | |
Public Member Functions inherited from HEJ::RNG | |
virtual double | flat ()=0 |
Generate random number in [0,1) More... | |
result_type | operator() () |
Generate random number in [min(), max()]. More... | |
virtual | ~RNG ()=default |
Additional Inherited Members | |
Public Types inherited from HEJ::RNG | |
using | result_type = unsigned |
Random number type, see std::RandomNumberDistribution. More... | |
Static Public Member Functions inherited from HEJ::RNG | |
static constexpr result_type | min () |
Minimum number that can be generated. More... | |
static constexpr result_type | max () |
Maximum number that can be generated. More... | |
MIXMAX random number generator.
For details on MIXMAX, see [7]
|
default |
|
inline |
Constructor with explicit seed.
|
inlineoverridevirtual |
Generate pseudorandom number between 0 and 1.
Implements HEJ::RNG.