[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


ran2_normal Source code in ran2_normal.pro

ran2_normal

Name
        ran2_normal
Purpose
        returns one or more normally-distributed random numbers with
        mean of zero an standard deviation of one.
Category
        timing tools adopted from Random number generator and
        simulatiomn by Istvan Deak, Akademiai Kiado, Budapest 1990
Calling Sequence
        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.
Optional Input Parameters
        dim  : the dimension of the result. (default = 1)
Keyword Parameters
        none
Output Parameters
        ran2_normal : one or more random deviates from a normal
        distribution  (dimension of the output = dim)
Optional Output
        none
Common Blocks
        ran2_normalcom,ind,y
Side Effects
        none
Restrictions
        set IDUM to any negative value to initialize or
        reinitialize the sequence
Procedure
        ran2
Example
        ran2_normal(-23887878,dim=1000)
Revision History
        Version 1.0, 2000/11/29, S. Benlloch (IAAT)

Last modified by pro2html on 2005 January 04 at 16:41 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically