![]() |
Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
![]() |
ran2_normal
returns one or more normally-distributed random numbers with
mean of zero an standard deviation of one.
timing tools adopted from Random number generator and
simulatiomn by Istvan Deak, Akademiai Kiado, Budapest 1990
ran2_noraml(idum)
INPUTS: idum : a long integer used to initialize the random number
generator (ran2). The sequence for subsequent call will be
save in the idum variable by the ran2 function. Set idum to
any negative value to restart the sequence.
dim : the dimension of the result. (default = 1)
none
ran2_normal : one or more random deviates from a normal
distribution (dimension of the output = dim)
none
ran2_normalcom,ind,y
none
set IDUM to any negative value to initialize or
reinitialize the sequence
ran2
ran2_normal(-23887878,dim=1000)
Version 1.0, 2000/11/29, S. Benlloch (IAAT)
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]