Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Math::RanluxppCompatEngineJames< p > Class Template Referencefinal

template<int p>
class ROOT::Math::RanluxppCompatEngineJames< p >

Definition at line 61 of file RanluxppEngine.h.

Public Member Functions

 RanluxppCompatEngineJames (uint64_t seed=314159265)
 
 ~RanluxppCompatEngineJames () override
 
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, p >
 

Private Attributes

std::unique_ptr< ImplTypefImpl
 

#include <Math/RanluxppEngine.h>

Inheritance diagram for ROOT::Math::RanluxppCompatEngineJames< p >:
[legend]

Member Typedef Documentation

◆ ImplType

template<int p>
using ROOT::Math::RanluxppCompatEngineJames< p >::ImplType = RanluxppEngineImpl<24, p>
private

Definition at line 64 of file RanluxppEngine.h.

Constructor & Destructor Documentation

◆ RanluxppCompatEngineJames()

template<int p>
ROOT::Math::RanluxppCompatEngineJames< p >::RanluxppCompatEngineJames ( uint64_t  seed = 314159265)

Definition at line 445 of file RanluxppEngineImpl.cxx.

◆ ~RanluxppCompatEngineJames()

Member Function Documentation

◆ IntRndm()

template<int p>
uint64_t ROOT::Math::RanluxppCompatEngineJames< p >::IntRndm

Generate a random integer value with 24 bits.

Definition at line 466 of file RanluxppEngineImpl.cxx.

◆ Name()

template<int p>
static const char * ROOT::Math::RanluxppCompatEngineJames< p >::Name ( )
inlinestatic

Get name of the generator.

Definition at line 84 of file RanluxppEngine.h.

◆ operator()()

template<int p>
double ROOT::Math::RanluxppCompatEngineJames< p >::operator()

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

Definition at line 460 of file RanluxppEngineImpl.cxx.

◆ Rndm()

template<int p>
double ROOT::Math::RanluxppCompatEngineJames< p >::Rndm
overridevirtual

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

Implements ROOT::Math::TRandomEngine.

Definition at line 454 of file RanluxppEngineImpl.cxx.

◆ SetSeed()

template<int p>
void ROOT::Math::RanluxppCompatEngineJames< p >::SetSeed ( uint64_t  seed)

Initialize and seed the state of the generator.

Definition at line 472 of file RanluxppEngineImpl.cxx.

◆ Skip()

template<int p>
void ROOT::Math::RanluxppCompatEngineJames< p >::Skip ( uint64_t  n)

Skip n random numbers without generating them.

Definition at line 478 of file RanluxppEngineImpl.cxx.

Member Data Documentation

◆ fImpl

template<int p>
std::unique_ptr<ImplType> ROOT::Math::RanluxppCompatEngineJames< p >::fImpl
private

Definition at line 65 of file RanluxppEngine.h.

  • math/mathcore/inc/Math/RanluxppEngine.h
  • math/mathcore/src/RanluxppEngineImpl.cxx