16 #ifndef ROO_QUASI_RANDOM_GENERATOR 17 #define ROO_QUASI_RANDOM_GENERATOR 31 int pb[],
int * pb_degree,
int v[],
int maxv);
32 void polyMultiply(
const int pa[],
int pa_degree,
const int pb[],
33 int pb_degree,
int pc[],
int * pc_degree);
static const Int_t _polyDegree[MaxDimension+1]
static const Int_t _primitivePoly[MaxDimension+1][MaxPrimitiveDegree+1]
RooQuasiRandomGenerator()
Perform one-time initialization of our static coefficient array if necessary and initialize our works...
virtual ~RooQuasiRandomGenerator()
Destructor.
#define ClassDef(name, id)
Bool_t generate(UInt_t dimension, Double_t vector[])
Generate the next number in the sequence for the specified dimension.
Int_t add(Int_t x, Int_t y) const
Int_t mul(Int_t x, Int_t y) const
static Bool_t _coefsCalculated
void reset()
Reset the workspace to its initial state.
This class generates the quasi-random (aka "low discrepancy") sequence for dimensions up to 12 using ...
void polyMultiply(const int pa[], int pa_degree, const int pb[], int pb_degree, int pc[], int *pc_degree)
Internal function.
Int_t sub(Int_t x, Int_t y) const
static Int_t _cj[NBits][MaxDimension]
void calculateV(const int px[], int px_degree, int pb[], int *pb_degree, int v[], int maxv)
Internal function.
void calculateCoefs(UInt_t dimension)
Calculate the coefficients for the given number of dimensions.