Syntax
where
[B/D] contains a crude mechanism for generating uniformly or Normally
distributed psuedo-random numbers. Uniform (0,1) pseudo-random numbers are
generated by the linear congruential method (see, for example,
[40]) via the sequence
where
Approximately Normal (0,1)
psuedo-random numbers
These uniform and Normal psuedo-random numbers are available
in equations as the [B/D] operands
urand and nrand respectively.
is a positive integer.
and
are the current and former values
of the seed, and
is the generated random number.
The SEED: command can be used to set the value of
used to
initiate the sequence of seed values.
are generated by the Polar method from a pair of
Uniform psuedo-random numbers as follows: