31#ifndef ROOT_Math_QuasiRandom
32#define ROOT_Math_QuasiRandom
59template <
class Engine>
User class for MathMore random numbers template on the Engine type.
QuasiRandom(unsigned int dimension=1)
Create a QuasiRandom generator.
bool Next(double *x)
Generate next quasi random numbers points.
bool Skip(unsigned int n)
skip the next n number and jumb directly to the current state + n
~QuasiRandom()
Destructor: call Terminate() function of engine to free any allocated resource.
std::string Name() const
Return the name of the generator.
double Next()
Generate next quasi random numbers point (1 - dimension)
bool RndmArray(int n, double *array)
Generate an array of random numbers between ]0,1[ Function to preserve ROOT Trandom compatibility The...
double Rndm()
Generate quasi random numbers between ]0,1[ 0 and 1 are excluded Function to be compatible with ROOT ...
std::string Type() const
Return the type (name) of the used generator.
unsigned int EngineSize() const
Return the size of the generator state.
unsigned int NDim() const
Return the dimension of the generator.
QuasiRandom(const Engine &e, unsigned int dimension=1)
Create a QuasiRandom generator based on a provided generic engine.
Namespace for new Math classes and functions.
QuasiRandom< ROOT::Math::GSLQRngNiederreiter2 > QuasiRandomNiederreiter
QuasiRandom< ROOT::Math::GSLQRngSobol > QuasiRandomSobol