Log of /trunk/math/mathcore/inc/TRandom2.h
Parent Directory
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/inc/TRandom2.h
File length: 1923 byte(s)
Diff to
previous 1006
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/inc/TRandom2.h
File length: 1811 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.