MIXMAX random number generator. More...
#include <Mixmax.hh>
Public Member Functions | |
Mixmax ()=default | |
Mixmax (long seed) | |
double | flat () override |
Generate pseudorandom number between 0 and 1. More... | |
Public Member Functions inherited from HEJ::DefaultRNG | |
unsigned | min () const override |
Minimum number that can be generated. More... | |
unsigned | max () const override |
Maximum number that can be generated. More... | |
unsigned | operator() () override |
Generate random number in [min(), max()]. More... | |
Public Member Functions inherited from HEJ::RNG | |
virtual double | flat ()=0 |
Generate random number in (0,1]. More... | |
virtual unsigned | min () const =0 |
Minimum number that can be generated. More... | |
virtual unsigned | max () const =0 |
Maximum number that can be generated. More... | |
virtual unsigned | operator() ()=0 |
Generate random number in [min(), max()]. More... | |
virtual | ~RNG ()=default |
MIXMAX random number generator.
For details on MIXMAX, see [4]
|
default |
|
inline |
|
inlineoverridevirtual |
Generate pseudorandom number between 0 and 1.
Implements HEJ::RNG.