89 for (
int i = 0; i <
n; ++i)
static void SetSkipNumber(int nskip)
set the number we want to use to skip generation higher value means higher luxury but slower ...
rng_state_t * rng_copy(myuint *Y)
Namespace for new ROOT classes and functions.
void set_skip_number(int n)
int rng_free(rng_state_t *X)
rng_state_t * rng_alloc()
static void SetFirstReturnElement(int index)
set initial number to be used in the vector.
double get_next_float(rng_state_t *X)
void SetState(const std::vector< StateInt_t > &state, bool warmup=true)
set the full initial generator state and warm up generator by doing some iterations ...
void set_first_return_element(int n)
void SetSeed64(uint64_t seed)
set the generator seed using a 64 bits integer
void SetSeed(unsigned int seed)
set the generator seed
myuint get_next(rng_state_t *X)
void GetState(std::vector< StateInt_t > &state) const
get the state of the generator
void RndmArray(int n, double *array)
generate an array of random numbers
void seed_spbox(rng_state_t *X, myuint seed)
uint64_t IntRndm()
generate a 64 bit integer number
Namespace for new Math classes and functions.
int Counter() const
Get the counter (between 0 and Size-1)
void SetCounter(int val)
set the counter
double Rndm_impl()
implementation function to generrate the random number
MixMaxEngine(uint64_t seed=1)
int iterate(rng_state_t *X)
static int Size()
Get the size of the generator.
void fill_array(rng_state_t *X, unsigned int n, double *array)