Definition at line 149 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 | SetSeedGsl (uint32_t s, bool ranlxd) |
Initialize and seed the state of the generator as in gsl_rng_ranlx*. | |
void | SetSeedJames (uint64_t s) |
Initialize and seed the state of the generator as in James' implementation. | |
void | SetSeedSibidanov (uint64_t s) |
Initialize and seed the state of the generator as proposed by Sibidanov. | |
void | SetSeedStd24 (uint64_t s) |
Initialize and seed the state of the generator as described by the C++ standard. | |
void | SetSeedStd48 (uint64_t s) |
Initialize and seed the state of the generator as described by the C++ standard. | |
void | Skip (uint64_t n) |
Skip n random numbers without generating them. | |
Private Member Functions | |
void | Advance () |
Produce next block of random bits. | |
void | Advance (const uint64_t *a) |
Advance with given multiplier. | |
void | Skip24 () |
Skip 24 RANLUX numbers. | |
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 = (u == 0) ? 9 * 64 : u * w |
Friends | |
class | RanluxppCompatEngineLuescherImpl< w, p > |
|
inlineprivate |
Produce next block of random bits.
Definition at line 173 of file RanluxppEngineImpl.cxx.
|
inlineprivate |
Advance with given multiplier.
Definition at line 163 of file RanluxppEngineImpl.cxx.
|
inline |
Return the next random bits, generate a new block if necessary.
Definition at line 186 of file RanluxppEngineImpl.cxx.
|
inline |
Return a floating point number, converted from the next random bits.
Definition at line 209 of file RanluxppEngineImpl.cxx.
|
inline |
Initialize and seed the state of the generator as in gsl_rng_ranlx*.
Definition at line 249 of file RanluxppEngineImpl.cxx.
|
inline |
Initialize and seed the state of the generator as in James' implementation.
Definition at line 217 of file RanluxppEngineImpl.cxx.
|
inline |
Initialize and seed the state of the generator as proposed by Sibidanov.
Definition at line 293 of file RanluxppEngineImpl.cxx.
|
inline |
Initialize and seed the state of the generator as described by the C++ standard.
Definition at line 314 of file RanluxppEngineImpl.cxx.
|
inline |
Initialize and seed the state of the generator as described by the C++ standard.
Definition at line 340 of file RanluxppEngineImpl.cxx.
|
inline |
Skip n
random numbers without generating them.
Definition at line 369 of file RanluxppEngineImpl.cxx.
|
inlineprivate |
Skip 24 RANLUX numbers.
Definition at line 179 of file RanluxppEngineImpl.cxx.
Definition at line 809 of file RanluxppEngineImpl.cxx.
Carry bit of the RANLUX state.
Definition at line 155 of file RanluxppEngineImpl.cxx.
Current position in bits.
Definition at line 156 of file RanluxppEngineImpl.cxx.
RANLUX state of the generator.
Definition at line 154 of file RanluxppEngineImpl.cxx.
|
staticconstexprprivate |
Definition at line 158 of file RanluxppEngineImpl.cxx.
|
staticconstexprprivate |
Definition at line 159 of file RanluxppEngineImpl.cxx.