## MSfGaussRand

#### Routine

double MSfGaussRand (double rms)

#### Purpose

Generate a Gaussian pseudo-random value

#### Description

This routine generates pseudo-random numbers with a Gaussian distribution. The numbers are generated by summing 12 uniformly distributed pseudo-random 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 pseudo-random numbers.

#### Parameters

<- double MSfGaussRand
  Gaussian deviate, mean zero, standard deviation rms
-> double rms
  Root-mean square value of the deviate (standard deviation)

#### Author / revision

P. Kabal / Revision 1.7 2003/05/09

#### See Also

MSfUnifRand

Main Index libtsp