Logo ROOT  
Reference Guide
ROOT::Math::RanluxppCompatEngineStdRanlux48 Class Referencefinal

Compatibility engine for std::ranlux48 from the C++ standard.

Definition at line 273 of file RanluxppEngine.h.

Public Member Functions

 RanluxppCompatEngineStdRanlux48 (uint64_t seed=19780503)
 
virtual ~RanluxppCompatEngineStdRanlux48 ()
 
uint64_t IntRndm ()
 Generate a random integer value with 48 bits. More...
 
double operator() ()
 Generate a floating point random number (non-virtual method) More...
 
double Rndm () override
 Generate a floating point random number with 48 bits of randomness. More...
 
void SetSeed (uint64_t seed)
 Initialize and seed the state of the generator. More...
 
void Skip (uint64_t n)
 Skip n random numbers without generating them. More...
 
- Public Member Functions inherited from ROOT::Math::TRandomEngine
virtual ~TRandomEngine ()
 
virtual double Rndm ()=0
 

Static Public Member Functions

static const char * Name ()
 Get name of the generator. More...
 

Private Types

using ImplType = RanluxppEngineImpl< 48, 2 *389, 11 >
 

Private Attributes

std::unique_ptr< ImplTypefImpl
 

#include <Math/RanluxppEngine.h>

Inheritance diagram for ROOT::Math::RanluxppCompatEngineStdRanlux48:
[legend]

Member Typedef Documentation

◆ ImplType

Definition at line 276 of file RanluxppEngine.h.

Constructor & Destructor Documentation

◆ RanluxppCompatEngineStdRanlux48()

ROOT::Math::RanluxppCompatEngineStdRanlux48::RanluxppCompatEngineStdRanlux48 ( uint64_t  seed = 19780503)

Definition at line 782 of file RanluxppEngineImpl.cxx.

◆ ~RanluxppCompatEngineStdRanlux48()

ROOT::Math::RanluxppCompatEngineStdRanlux48::~RanluxppCompatEngineStdRanlux48 ( )
virtualdefault

Member Function Documentation

◆ IntRndm()

uint64_t ROOT::Math::RanluxppCompatEngineStdRanlux48::IntRndm ( )

Generate a random integer value with 48 bits.

Definition at line 799 of file RanluxppEngineImpl.cxx.

◆ Name()

static const char * ROOT::Math::RanluxppCompatEngineStdRanlux48::Name ( )
inlinestatic

Get name of the generator.

Definition at line 296 of file RanluxppEngine.h.

◆ operator()()

double ROOT::Math::RanluxppCompatEngineStdRanlux48::operator() ( )

Generate a floating point random number (non-virtual method)

Definition at line 794 of file RanluxppEngineImpl.cxx.

◆ Rndm()

double ROOT::Math::RanluxppCompatEngineStdRanlux48::Rndm ( )
overridevirtual

Generate a floating point random number with 48 bits of randomness.

Implements ROOT::Math::TRandomEngine.

Definition at line 789 of file RanluxppEngineImpl.cxx.

◆ SetSeed()

void ROOT::Math::RanluxppCompatEngineStdRanlux48::SetSeed ( uint64_t  seed)

Initialize and seed the state of the generator.

Definition at line 804 of file RanluxppEngineImpl.cxx.

◆ Skip()

void ROOT::Math::RanluxppCompatEngineStdRanlux48::Skip ( uint64_t  n)

Skip n random numbers without generating them.

Definition at line 809 of file RanluxppEngineImpl.cxx.

Member Data Documentation

◆ fImpl

std::unique_ptr<ImplType> ROOT::Math::RanluxppCompatEngineStdRanlux48::fImpl
private

Definition at line 277 of file RanluxppEngine.h.

Libraries for ROOT::Math::RanluxppCompatEngineStdRanlux48:
[legend]

The documentation for this class was generated from the following files: