[root] / trunk / math / mathcore / src / TRandom2.cxx Repository:
ViewVC logotype

Log of /trunk/math/mathcore/src/TRandom2.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 49217 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 11 09:57:14 2013 UTC (21 months, 1 week ago) by moneta
File length: 5489 byte(s)
Diff to previous 48161
update documentation for TRandom, The interval of the generated numbers in Rndm() is (0,1) and NOT (0,1]

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 22885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 28 13:57:25 2008 UTC (6 years, 9 months ago) by rdm
File length: 4826 byte(s)
Copied from: trunk/math/src/TRandom2.cxx revision 22862
Diff to previous 22866
move the following directories under the new "math" meta directory:
   mathcore
   mathmore
   fftw
   foam
   fumili
   genvector
   matrix
   minuit
   minuit2
   mlp
   physics
   smatrix
   splot
   unuran
   quadp

Revision 22866 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 27 15:32:50 2008 UTC (6 years, 9 months ago) by rdm
Original Path: trunk/mathcore/src/TRandom2.cxx
File length: 4826 byte(s)
Copied from: trunk/math/src/TRandom2.cxx revision 22862
Diff to previous 20882
move remaining files from math to mathcore (they were part of libMathCore
anyway). Include paths remain the same.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/math/src/TRandom2.cxx
File length: 4822 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/math/src/TRandom2.cxx
File length: 4822 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/math/src/TRandom2.cxx
File length: 4873 byte(s)
Diff to previous 17818
remove :$ from tag line

Revision 17818 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 9 10:15:39 2007 UTC (7 years, 11 months ago) by rdm
Original Path: trunk/math/src/TRandom2.cxx
File length: 4883 byte(s)
Diff to previous 17297
correct cvs ident line (base -> math).

Revision 17297 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 12 09:27:32 2007 UTC (8 years ago) by brun
Original Path: trunk/math/src/TRandom2.cxx
File length: 4941 byte(s)
Diff to previous 15095
Remove dependency on "TMath.h"

Revision 15095 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 18 09:37:04 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/math/src/TRandom2.cxx
File length: 4960 byte(s)
Diff to previous 15093
Exclude 0 as a return value from Trandom, TRandom1 and TRandom2

Revision 15093 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 18 08:04:25 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/math/src/TRandom2.cxx
File length: 4840 byte(s)
Diff to previous 15092
Fix coding conventions violations

Revision 15092 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 18 07:34:25 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/math/src/TRandom2.cxx
File length: 5112 byte(s)
Diff to previous 15084
Fix coding conventions violations

Revision 15084 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 17 17:32:40 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/math/src/TRandom2.cxx
File length: 5110 byte(s)
Diff to previous 15037
New version of TRandom and TRandom2. More doc coming later.

Revision 15037 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 14 08:19:30 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/math/src/TRandom2.cxx
File length: 3680 byte(s)
Diff to previous 14911
Fix coding conventions violations

Revision 14911 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 4 13:02:33 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/math/src/TRandom2.cxx
File length: 3660 byte(s)
Diff to previous 13258
Implement native version of TRandom2::RndmArray

Revision 13258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 16 20:11:59 2005 UTC (9 years, 2 months ago) by pcanal
Original Path: trunk/math/src/TRandom2.cxx
File length: 2968 byte(s)
Diff to previous 5989
White spaces and comments update

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 5605 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 17 17:04:36 2002 UTC (12 years, 2 months ago) by brun
Original Path: trunk/math/src/TRandom2.cxx
File length: 2444 byte(s)
Diff to previous 1006
Modify the Rndm function in the generator classes such that they never
return 0.
Remove the test on 0 from several functions in TRandom.

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.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/math/src/TRandom2.cxx
File length: 2397 byte(s)
Copied from: branches/unlabeled-1.1.1/math/src/TRandom2.cxx revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/unlabeled-1.1.1/math/src/TRandom2.cxx
File length: 2397 byte(s)
Initial import of ROOT into CVS

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9