Definition at line 79 of file RanluxppEngineImpl.cxx.
Public Member Functions | |
uint64_t | NextRandomBits () |
Return the next random bits, generate a new block if necessary. | |
double | NextRandomFloat () |
Return a floating point number, converted from the next random bits. | |
void | SetSeed (uint64_t s) |
Initialize and seed the state of the generator. | |
void | Skip (uint64_t n) |
Skip n random numbers without generating them. | |
Private Member Functions | |
void | Advance () |
Produce next block of random bits. | |
Private Attributes | |
unsigned | fCarry |
Carry bit of the RANLUX state. | |
int | fPosition = 0 |
Current position in bits. | |
uint64_t | fState [9] |
RANLUX state of the generator. | |
Static Private Attributes | |
static constexpr const uint64_t * | kA = RanluxppData<p>::kA |
static constexpr int | kMaxPos = 9 * 64 |
|
inlineprivate |
Produce next block of random bits.
Definition at line 90 of file RanluxppEngineImpl.cxx.
|
inline |
Return the next random bits, generate a new block if necessary.
Definition at line 101 of file RanluxppEngineImpl.cxx.
|
inline |
Return a floating point number, converted from the next random bits.
Definition at line 124 of file RanluxppEngineImpl.cxx.
|
inline |
Initialize and seed the state of the generator.
Definition at line 132 of file RanluxppEngineImpl.cxx.
|
inline |
Skip n
random numbers without generating them.
Definition at line 153 of file RanluxppEngineImpl.cxx.
|
private |
Carry bit of the RANLUX state.
Definition at line 83 of file RanluxppEngineImpl.cxx.
|
private |
Current position in bits.
Definition at line 84 of file RanluxppEngineImpl.cxx.
|
private |
RANLUX state of the generator.
Definition at line 82 of file RanluxppEngineImpl.cxx.
|
staticconstexprprivate |
Definition at line 86 of file RanluxppEngineImpl.cxx.
|
staticconstexprprivate |
Definition at line 87 of file RanluxppEngineImpl.cxx.