12#ifndef ROOT_TRandomGen
13#define ROOT_TRandomGen
64 for (
int i = 0; i <
n; ++i) array[i] =
fEngine();
67 for (
int i = 0; i <
n; ++i) array[i] =
fEngine();
83#ifdef DEFINE_TEMPL_INSTANCE
#define ClassDefOverride(name, id)
TRandomGen< ROOT::Math::RanluxppEngine2048 > TRandomRanluxpp
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void SetName(const char *name)
Set the name of the TNamed.
void SetSeed(ULong_t seed=0) override
Set the random generator seed.
Double_t Rndm() override
Machine independent random number generator.
void RndmArray(Int_t n, Float_t *array) override
Return an array of n random numbers uniformly distributed in ]0,1].
void RndmArray(Int_t n, Double_t *array) override
Return an array of n random numbers uniformly distributed in ]0,1].
TRandomGen(ULong_t seed=1)
This is the base class for the ROOT Random number generators.
Double_t Rndm() override
Machine independent random number generator.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
TRandomGen< ROOT::Math::MixMaxEngine< 240, 0 > > TRandomMixMax
MIXMAX generator based on a state of N=240.
TRandomGen< ROOT::Math::StdEngine< std::mt19937_64 > > TRandomMT64
Generator based on a the Mersenne-Twister generator with 64 bits, using the implementation provided b...
TRandomGen< ROOT::Math::MixMaxEngine< 256, 2 > > TRandomMixMax256
MIXMAX generator based on a state of N=256, based on the generator described in this paper:
TRandomGen< ROOT::Math::MixMaxEngine< 17, 0 > > TRandomMixMax17
MIXMAX generator based on a state of N=17.
TRandomGen< ROOT::Math::StdEngine< std::ranlux48 > > TRandomRanlux48
Generator based on a the RanLux generator with 48 bits, using the implementation provided by the stan...