Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches

Sobol generator gsl_qrng_sobol from here.

Definition at line 156 of file GSLQuasiRandom.h.

Public Member Functions

 GSLQRngSobol ()
bool GenerateArray (double *begin, double *end) const
 Generate an array of quasi random numbers The iterators points to the random numbers.
void Initialize (unsigned int dimension)
 initialize the generator giving the dimension of the sequence If no rng is present the default one based on Mersenne and Twister is created
std::string Name () const
 return name of generator
unsigned int NDim () const
 return the dimension of generator
double operator() () const
 Generate a random number between ]0,1[.
bool operator() (double *x) const
 Fill array x with random numbers between ]0,1[.
unsigned int Size () const
 return the state size of generator
bool Skip (unsigned int n) const
 Skip the next n random numbers.
void Terminate ()
 delete pointer to contained rng

Protected Member Functions

void SetType (GSLQRngWrapper *r)
 internal method used by the derived class to set the type of generators

Private Attributes

GSLQRngWrapperfQRng

#include <Math/GSLQuasiRandom.h>

Inheritance diagram for ROOT::Math::GSLQRngSobol:
ROOT::Math::GSLQuasiRandomEngine

Constructor & Destructor Documentation

◆ GSLQRngSobol()

ROOT::Math::GSLQRngSobol::GSLQRngSobol ( )

Definition at line 168 of file GSLQuasiRandom.cxx.

Member Function Documentation

◆ GenerateArray()

bool ROOT::Math::GSLQuasiRandomEngine::GenerateArray ( double * begin,
double * end ) const
inherited

Generate an array of quasi random numbers The iterators points to the random numbers.

Definition at line 124 of file GSLQuasiRandom.cxx.

◆ Initialize()

void ROOT::Math::GSLQuasiRandomEngine::Initialize ( unsigned int dimension)
inherited

initialize the generator giving the dimension of the sequence If no rng is present the default one based on Mersenne and Twister is created

Definition at line 81 of file GSLQuasiRandom.cxx.

◆ Name()

std::string ROOT::Math::GSLQuasiRandomEngine::Name ( ) const
inherited

return name of generator

Definition at line 135 of file GSLQuasiRandom.cxx.

◆ NDim()

unsigned int ROOT::Math::GSLQuasiRandomEngine::NDim ( ) const
inherited

return the dimension of generator

Definition at line 152 of file GSLQuasiRandom.cxx.

◆ operator()() [1/2]

double ROOT::Math::GSLQuasiRandomEngine::operator() ( ) const
inherited

Generate a random number between ]0,1[.

Definition at line 97 of file GSLQuasiRandom.cxx.

◆ operator()() [2/2]

bool ROOT::Math::GSLQuasiRandomEngine::operator() ( double * x) const
inherited

Fill array x with random numbers between ]0,1[.

Definition at line 107 of file GSLQuasiRandom.cxx.

◆ SetType()

void ROOT::Math::GSLQuasiRandomEngine::SetType ( GSLQRngWrapper * r)
inlineprotectedinherited

internal method used by the derived class to set the type of generators

Definition at line 136 of file GSLQuasiRandom.h.

◆ Size()

unsigned int ROOT::Math::GSLQuasiRandomEngine::Size ( ) const
inherited

return the state size of generator

Definition at line 145 of file GSLQuasiRandom.cxx.

◆ Skip()

bool ROOT::Math::GSLQuasiRandomEngine::Skip ( unsigned int n) const
inherited

Skip the next n random numbers.

Definition at line 114 of file GSLQuasiRandom.cxx.

◆ Terminate()

void ROOT::Math::GSLQuasiRandomEngine::Terminate ( )
inherited

delete pointer to contained rng

Definition at line 88 of file GSLQuasiRandom.cxx.

Member Data Documentation

◆ fQRng

GSLQRngWrapper* ROOT::Math::GSLQuasiRandomEngine::fQRng
privateinherited

Definition at line 142 of file GSLQuasiRandom.h.


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