[root] / trunk / math / mathcore / inc / TRandom.h Repository:
ViewVC logotype

Log of /trunk/math/mathcore/inc/TRandom.h

Parent Directory Parent Directory


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

Revision 32526 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 10 14:56:13 2010 UTC (4 years, 10 months ago) by moneta
File length: 2628 byte(s)
Diff to previous 27771
- use in TRandom::SetSeed a default argument = 0. 
  In this way we have the same default argument used in the derived classes ( TRandom2 and TRandom3)

  This fixes probelm reported in https://savannah.cern.ch/bugs/?64117 
  i.e. a different behaviour observed when running interpreted code compared to compiled code.

Revision 27771 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 15 18:09:18 2009 UTC (5 years, 10 months ago) by brun
File length: 2632 byte(s)
Diff to previous 22885
Make TRandom::GetSeed a const function

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: 2626 byte(s)
Copied from: trunk/math/inc/TRandom.h 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/inc/TRandom.h
File length: 2626 byte(s)
Copied from: trunk/math/inc/TRandom.h 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/inc/TRandom.h
File length: 2622 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/inc/TRandom.h
File length: 2622 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/inc/TRandom.h
File length: 2669 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/inc/TRandom.h
File length: 2679 byte(s)
Diff to previous 15093
correct cvs ident line (base -> math).

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/inc/TRandom.h
File length: 2679 byte(s)
Diff to previous 14932
Fix coding conventions violations

Revision 14932 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 6 08:25:15 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/math/inc/TRandom.h
File length: 2652 byte(s)
Diff to previous 9149
Implement new function TRandom::Circle

void TRandom::Circle(Double_t &x, Double_t &y, Double_t r)
   // generates random vectors, uniformly distributed over a circle of given radius.
   //   Input : r = circle radius
   //   Output: x,y a random 2-d vector of length r

Revision 9149 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 9 06:46:30 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/math/inc/TRandom.h
File length: 2589 byte(s)
Diff to previous 7632
Add new random generator function:
void TRandom::Sphere(Double_t &x, Double_t &y, Double_t &z, Double_t xlong)
   // generates random vectors, uniformly distributed over the surface
   // of a sphere of given radius.

Revision 7632 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 23 16:13:08 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/math/inc/TRandom.h
File length: 2505 byte(s)
Diff to previous 5989
Add a new function in TRandom returning a random number following
a Breit-Wigner distribution
  Double_t TRandom::BreitWigner(Double_t mean=0, Double_t gamma=1)

Revision 5989 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 26 21:03:16 2003 UTC (11 years, 11 months ago) by brun
Original Path: trunk/math/inc/TRandom.h
File length: 2436 byte(s)
Diff to previous 4472
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 4472 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 7 06:38:20 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/math/inc/TRandom.h
File length: 2379 byte(s)
Diff to previous 4260
Add a new function:
  Double_t TRandom::PoissonD(Double_t mean).
This function is like Poisson but returns a Double_t instead of Int_t.

Revision 4260 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 28 09:22:36 2002 UTC (12 years, 10 months ago) by brun
Original Path: trunk/math/inc/TRandom.h
File length: 2333 byte(s)
Diff to previous 1006
Add the following new functions:

void TRandom::RndmArray(Int_t n, Double_t *array)
  // Return an array of n random numbers uniformly distributed
  // between 0 and 1 not included

Double_t TRandom::Uniform(Double_t x1, Double_t x2)
// returns a uniform deviate on the interval ( x1, x2 ].

void TRandom::ReadRandom(const char *filename)
  // Reads saved random generator status from filename

void TRandom::WriteRandom(const char *filename)
  // Writes random generator status to filename

Note that since TRandom is teh base class for all random number classes,
the new function may be used with TRandom, TRandom2 and TRandom3.

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/TRandom.h
File length: 2111 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/inc/TRandom.h
File length: 1997 byte(s)
Copied from: branches/unlabeled-1.1.1/math/inc/TRandom.h 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/inc/TRandom.h
File length: 1997 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