[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


ran3_normal Source code in ran3_normal.pro

ran3_normal

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

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