Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
ran2
returns one or more uniform random deviate between 0.0 and 1.0
timing tools adopted from Numerical Recipes Software
ran2(idum)
idum : a long integer used to initialize the random number generator. The sequence for subsequent call will be save by ran2 function in the idum variable. Set idum to any negative value to restart the sequence.
dim : the dimension of the result. (default = 1)
none
ran2 : 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
ran2(-23887878)
Version 1.0, 1998/03/12, Sara Benlloch (IAAT) (benlloch@astro.uni-tuebingen.de) Version 1.1, 2000/11/28, S. Benlloch (IAAT) optional input dim added
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]