Log of /trunk/math/mathcore/src/TRandom2.cxx
Parent Directory
Revision
48161 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 20 15:40:23 2012 UTC (2 years, 1 month ago) by
moneta
File length: 5353 byte(s)
Diff to
previous 22885
fix seeding for seed = 0 (random seed from TUUID)
Use TUUID to generate 3 unique seeds for TRandom2.
TRandom2 os then used for generating random states for both TRandom1 and TRandom3
TRandom is now initialized using the lowest 4 bytes of TUUID
This fixes the bug reported in https://savannah.cern.ch/bugs/?99516
All the 4 generators now pased the test reported by Chris (see bug report)
Revision
5989 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Jan 26 21:03:16 2003 UTC (12 years ago) by
brun
Original Path:
trunk/math/src/TRandom2.cxx
File length: 2966 byte(s)
Diff to
previous 5605
In TRandom add new function:
virtual void RndmArray(Int_t n, Float_t *array);
In TRandom2 and TRandom3, add the functions:
virtual void RndmArray(Int_t n, Float_t *array);
virtual void RndmArray(Int_t n, Double_t *array);
Revision
1006 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 22 08:35:44 2000 UTC (14 years, 2 months ago) by
brun
Original Path:
trunk/math/src/TRandom2.cxx
File length: 2455 byte(s)
Diff to
previous 3
Use double precision in return types and all arguments
of the random number generator classes. The modified prototypes are:
virtual Int_t Binomial(Int_t ntot, Double_t prob);
virtual Double_t Gaus(Double_t mean=0, Double_t sigma=1);
virtual Double_t Landau(Double_t mean=0, Double_t sigma=1);
virtual Int_t Poisson(Double_t mean);
virtual void Rannor(Float_t &a, Float_t &b);
virtual void Rannor(Double_t &a, Double_t &b);
virtual Double_t Rndm(Int_t i=0);
virtual Double_t Uniform(Double_t x1=1);
Note that in case of Rannor, two functions are provided, one with
float and one with double for back compatibility.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.