Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
ran3_normal
returns one or more normally-distributed random numbers with mean of zero an standard deviation of one, using the ran3 random number generator.
timing tools adopted from Random number generator and simulatiomn by Istvan Deak, Akademiai Kiado, Budapest 1990
ran3_normal(seed) INPUTS: seed : a long integer used to initialize the random number generator (ran3). Set seed to any negative value to start the sequence.
dim : the dimension of the result. (default = 1)
none
ran3_normal : one or more random deviates from a normal distribution (dimension of the output = dim)
none
ran3_normalcom,ind,y
none
set IDUM to any negative value to initialize or reinitialize the sequence
ran3_normal(-23887878,dim=1000)
$Log: ran3_normal.pro,v $ Revision 1.2 2004/09/06 21:08:44 wilms fixed trivial typo in documentation header Version 1.0, 2002/02/25, J. Wilms, based on ran2_normal
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]