MSfGaussRand
Routine

double MSfGaussRand (double rms)
Purpose

Generate a Gaussian pseudorandom value
Description
This routine generates pseudorandom numbers with a Gaussian distribution.
The numbers are generated by summing 12 uniformly distributed pseudorandom
numbers. The result is approximately Gaussian (central limit theorem) with a
range between 6 and +6 standard deviations. This routine uses the function
UTfUnifRand as the source of uniform pseudorandom numbers.
Parameters

< double MSfGaussRand

Gaussian deviate, mean zero, standard deviation rms

> double rms

Rootmean square value of the deviate (standard deviation)
Author / revision
P. Kabal
/ Revision 1.7 2003/05/09
See Also
MSfUnifRand
Main Index libtsp