Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
ran3
returns a uniform random deviate between 0.0 and 1.0
timing tools adopted from Numerical Recipes Software
ran3(idum)
idum : set IDUM to any negative value to initialize or reinitialize the sequence
none
none
ran3 : uniform random deviate between 0.0 and 1.0
none
none
none
set IDUM to any negative value to initialize or reinitialize the sequence
none
ran3(-23887878L)
Version 1.0, 1998/03/12 Sara Benlloch (IAAT) (benlloch@astro.uni-tuebingen.de) CVS Version 1.2, 2001/03/13 Joern Wilms changed the example, added a few more LONG-statements in comparisons. When restarting the RNG with the same seed the same sequence of RNGs was NOT produced due to a bug in the initialization subroutine --> that has been changed by now correctly working with base 1 arrays instead of base 0 (randomization was thrown off course that way). Version 1.3, 2001/03/13 Joern Wilms removed debugging code that was erroneously left in
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]