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

Log of /trunk/math/mathcore/src/TRandom1.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: 24038 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: 24038 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: 23798 byte(s)
Copied from: trunk/math/src/TRandom1.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/TRandom1.cxx
File length: 23798 byte(s)
Copied from: trunk/math/src/TRandom1.cxx revision 22862
Diff to previous 22419
move remaining files from math to mathcore (they were part of libMathCore
anyway). Include paths remain the same.

Revision 22419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 3 00:25:01 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/math/src/TRandom1.cxx
File length: 23794 byte(s)
Diff to previous 20882
From Andrew Savchenko:
ROOT can not be compiled with gcc-4.3.
Some ROOT source files doesn't contain required #include directives,
for example, they use strlen(), but #include <string.h> is missed or
malloc() is used and #include <stdlib.h> is missed. 

Earlier versions of gcc allowed some headers to be included implicitly,
but issued a warning (-Wimplicit-function-declaration). Newer one,
gcc-4.3 denies such silly behaviour: all required headers must be explicitly
included. 

Attached patch fixes this. Also it fixes another issue, which disallows
ROOT to compile under gcc-4.3: C functions don't belong to namespace std,
so expressions like std::memcpy() are no longer valid and plain memcpy()
should be used instead.

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/TRandom1.cxx
File length: 23774 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/TRandom1.cxx
File length: 23774 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/TRandom1.cxx
File length: 23825 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/TRandom1.cxx
File length: 23835 byte(s)
Diff to previous 17405
correct cvs ident line (base -> math).

Revision 17405 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 19 18:55:30 2007 UTC (8 years ago) by brun
Original Path: trunk/math/src/TRandom1.cxx
File length: 23835 byte(s)
Diff to previous 17325
Fix a portability problem on Solaris; use TMath::Power instead of pow

Revision 17325 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 12:51:25 2007 UTC (8 years ago) by brun
Original Path: trunk/math/src/TRandom1.cxx
File length: 23777 byte(s)
Diff to previous 17323
include <cmath> is required

Revision 17323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 11:52:01 2007 UTC (8 years ago) by rdm
Original Path: trunk/math/src/TRandom1.cxx
File length: 23761 byte(s)
Diff to previous 17306
<cmath> not needed anymore after introduction of TMathBase.h.

Revision 17306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 12 16:03:17 2007 UTC (8 years ago) by brun
Original Path: trunk/math/src/TRandom1.cxx
File length: 23783 byte(s)
Diff to previous 17297
   TMath::Abs, TMath::Min, TMath::Max, TMath::Sign, TMath::Range
These functions are unfortunately not defined in a standard way in std::

This include is referenced by a new version of TMath.h.
As a result, TMath.h is back compatible with the previous version.

TMathBase.h is used in place of TMath.h in all the classes
that will go into the future miniCore library.
TMath.h and the TMath implementation will go into a new math sub-directory.

TString.h uses TMathBase.h instead of TMath.h.
As a result, it was necessary to include "TMath.h" in some classes
assuming that TMath was included via TString and using other functions
than the ones defined in TMathBase.h
 ----------------------------------------------------------------------

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/TRandom1.cxx
File length: 23766 byte(s)
Diff to previous 15234
Remove dependency on "TMath.h"

Revision 15234 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 30 11:53:50 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/math/src/TRandom1.cxx
File length: 23784 byte(s)
Diff to previous 15181
Change variables from Long64_t to UInt_t
Add new functions SetSeed and SetSeed2

Revision 15181 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 26 15:13:03 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/math/src/TRandom1.cxx
File length: 23332 byte(s)
Diff to previous 15092
one more round of code cleanup: change NULL by 0 in all C++ code.

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/TRandom1.cxx
File length: 23444 byte(s)
Diff to previous 15042
Fix coding conventions violations

Revision 15042 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 15 06:31:19 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/math/src/TRandom1.cxx
File length: 23204 byte(s)
Diff to previous 15037
Fix coding conventions violations

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/TRandom1.cxx
File length: 23202 byte(s)
Diff to previous 14913
Fix coding conventions violations

Revision 14913 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu May 4 13:06:15 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/math/src/TRandom1.cxx
File length: 23026 byte(s)
Implement a new random number generator RANLUX taken from CERNLIB/CLHEP.
The new class is called TRandom1.
This class is added for consistency because it is well known.
Unfortunately, this class is much slower than all the other generators.

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