[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


rndexp2 Source code in rndexp2.pro

rndexp2

Name
               rndexp2
Purpose
               return a random value on the basis of an exponential
               distribution with a given average, based on ran2
Category
               timing tools
Calling Sequence
               rndexp(avg,seed)
Input Parameters
               avg  : average of the exponential distribution
               seed : seed value for random number generation via the
                      ran2 generator (set to negative to reinitialize)
Optional Input Parameters
               none
Keyword Parameters
               none
Output Parameters
               rndexp : random value on the basis of an exponential
                          distribution with the given average
Optional Output
               none
Common Blocks
               none
Side Effects
               none
Restrictions
               none
Procedure
               see code
Example
               print,rndexp2(100,seed)
Revision History
 $Log: rndexp2.pro,v $
 Revision 1.1  2004/09/06 21:15:50  wilms
 initial release, based on rndexp

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

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

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