|
ROOT
Reference Guide |
|
virtual void RndmArray(Int_t size, Float_t *vect)
return an array of random numbers in ]0,1]
virtual Double_t Rndm()
return a random number in ]0,1]
virtual void SetSeeds(const UInt_t *seeds, Int_t lux=3)
Set the state of the generator providing an array of seeds The array of seeds can be of size 24 or le...
virtual ~TRandom1()
destructor
static constexpr double lux
const Double_t fMantissaBit12
const Double_t fMantissaBit24
TRandom1()
default constructor
This is the base class for the ROOT Random number generators.
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
R__EXTERN TRandom * gRandom
static Int_t fgNumEngines
virtual Double_t Rndm()
Machine independent random number generator.
Float_t fFloatSeedTable[24]
virtual UInt_t GetSeed() const
Get the random generator seed.
virtual Int_t GetLuxury() const
#define ClassDef(name, id)
The Ranlux Random number generator class.
static void GetTableSeeds(UInt_t *seeds, Int_t index)
static function returning the table of seeds
virtual void SetSeed(ULong_t seed)
Set the state of the generator providing a single seed value and using the luxury level defined when ...
const UInt_t * GetTheSeeds() const
virtual void SetSeed2(UInt_t seed, Int_t lux=3)
Set the state of the generator providing a single seed value and a luxury level.