- randGaussLimit
randGaussLimit
Creates a random sequence distributed according to the Gaussian distribution with lower and upper bounds. See randGauss for standard Gaussian distribution.
randGaussLimit Parameters
- sigma (float)
The standard deviation.
- mean (float)
The mean.
- lowerLimit (float)
The lower limit for the distribution.
- upperLimit (float)
The upper limit for the distribution.
- seed (integer)
Random number seed.
- numberSequence (code block, optional)
The
<NAFunc numberSequence>
is an NAFunc code block that generates a random number; if not specified, Vorpal’s default random number generator (uniform in [0,1)) will be used to generate the initial random number.
Example randGaussLimit Block
<NAFunc velocitySequence_0>
kind = randGaussLimit
mean = 0.0
sigma = 1.0e6
lowerLimit = -2.0e6
upperLimit = 2.0e6
</NAFunc>