31 #ifndef ROOT_Math_GSLQuasiRandom
32 #define ROOT_Math_GSLQuasiRandom
109 bool Skip(
unsigned int n)
const;
120 std::string
Name()
const;
125 unsigned int Size()
const;
130 unsigned int NDim()
const;
double operator()() const
Generate a random number between ]0,1[.
Namespace for new ROOT classes and functions.
unsigned int Size() const
return the state size of generator
GSLQuasiRandomEngine & operator=(const GSLQuasiRandomEngine &eng)
Assignment operator : make a deep copy of the contained GSL generator.
bool Skip(unsigned int n) const
Skip the next n random numbers.
void SetType(GSLQRngWrapper *r)
internal method used by the derived class to set the type of generators
unsigned int NDim() const
return the dimension of generator
void Initialize(unsigned int dimension)
initialize the generator giving the dimension of the sequence If no rng is present the default one ba...
virtual ~GSLQuasiRandomEngine()
call Terminate()
Niederreiter generator gsl_qrng_niederreiter_2 from here
void Terminate()
delete pointer to contained rng
Namespace for new Math classes and functions.
GSLQRngWrapper class to wrap gsl_qrng structure.
Sobol generator gsl_qrng_sobol from here
GSLQuasiRandomEngine Base class for all GSL quasi random engines, normally user instantiate the deriv...
std::string Name() const
return name of generator
GSLQuasiRandomEngine()
default constructor.
bool GenerateArray(double *begin, double *end) const
Generate an array of quasi random numbers The iterators points to the random numbers.