69#ifdef R__COMPLETE_MEM_TERMINATION
90 SetTitle(
"Random number generator: Mersenne Twister");
123 for (i=0; i <
kN-
kM; i++) {
128 for ( ; i <
kN-1 ; i++) {
145 if (
y)
return ( (
Double_t)
y * 2.3283064365386963e-10);
178 for (i=0; i <
kN-
kM; i++) {
183 for ( ; i <
kN-1 ; i++) {
200 array[k] =
Double_t(
y * 2.3283064365386963e-10);
225 for(
Int_t i=1; i<624; i++) {
226 fMt[i] = (1812433253 * (
fMt[i-1] ^ (
fMt[i-1] >> 30)) + i );
235 for (
Int_t i = 0; i< 624; i++) {
236 fMt[i] =
static_cast<UInt_t> (4294967296.*
r.Rndm());
250 if (
R__b.IsReading()) {
short Version_t
Class version identifier (short)
unsigned long ULong_t
Unsigned long integer 4 bytes (unsigned long). Size depends on architecture.
float Float_t
Float 4 bytes (float)
double Double_t
Double 8 bytes.
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
R__EXTERN TRandom * gRandom
Buffer base class used for serializing objects.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void SetName(const char *name)
Set the name of the TNamed.
Random number generator class based on the maximally quidistributed combined Tausworthe generator by ...
Random number generator class based on M.
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[.
TClass * IsA() const override
TRandom3(UInt_t seed=4357)
Default constructor.
void Streamer(TBuffer &) override
Streamer for an object of class TRandom3.
~TRandom3() override
Default destructor.
void SetSeed(ULong_t seed=0) override
Set the random generator sequence.
This is the base class for the ROOT Random number generators.
virtual void SetSeed(ULong_t seed=0)
Set the random generator seed.
void Streamer(TBuffer &) override
Stream an object of class TObject.