Compatibility engine for std::ranlux24
from the C++ standard.
Definition at line 245 of file RanluxppEngine.h.
Public Member Functions | |
RanluxppCompatEngineStdRanlux24 (uint64_t seed=19780503) | |
virtual | ~RanluxppCompatEngineStdRanlux24 () |
uint64_t | IntRndm () |
Generate a random integer value with 24 bits. | |
double | operator() () |
Generate a floating point random number (non-virtual method) | |
double | Rndm () override |
Generate a floating point random number with 24 bits of randomness. | |
void | SetSeed (uint64_t seed) |
Initialize and seed the state of the generator. | |
void | Skip (uint64_t n) |
Skip n random numbers without generating them. | |
Public Member Functions inherited from ROOT::Math::TRandomEngine | |
virtual | ~TRandomEngine () |
Static Public Member Functions | |
static const char * | Name () |
Get name of the generator. | |
Private Types | |
using | ImplType = RanluxppEngineImpl< 24, 223, 23 > |
Private Attributes | |
std::unique_ptr< ImplType > | fImpl |
#include <Math/RanluxppEngine.h>
|
private |
Definition at line 248 of file RanluxppEngine.h.
ROOT::Math::RanluxppCompatEngineStdRanlux24::RanluxppCompatEngineStdRanlux24 | ( | uint64_t | seed = 19780503 | ) |
Definition at line 749 of file RanluxppEngineImpl.cxx.
|
virtualdefault |
uint64_t ROOT::Math::RanluxppCompatEngineStdRanlux24::IntRndm | ( | ) |
Generate a random integer value with 24 bits.
Definition at line 766 of file RanluxppEngineImpl.cxx.
|
inlinestatic |
Get name of the generator.
Definition at line 268 of file RanluxppEngine.h.
double ROOT::Math::RanluxppCompatEngineStdRanlux24::operator() | ( | ) |
Generate a floating point random number (non-virtual method)
Definition at line 761 of file RanluxppEngineImpl.cxx.
|
overridevirtual |
Generate a floating point random number with 24 bits of randomness.
Implements ROOT::Math::TRandomEngine.
Definition at line 756 of file RanluxppEngineImpl.cxx.
void ROOT::Math::RanluxppCompatEngineStdRanlux24::SetSeed | ( | uint64_t | seed | ) |
Initialize and seed the state of the generator.
Definition at line 771 of file RanluxppEngineImpl.cxx.
void ROOT::Math::RanluxppCompatEngineStdRanlux24::Skip | ( | uint64_t | n | ) |
Skip n
random numbers without generating them.
Definition at line 776 of file RanluxppEngineImpl.cxx.
|
private |
Definition at line 249 of file RanluxppEngine.h.