Syntax
where is a positive integer.
[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 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.
Approximately Normal (0,1)
psuedo-random numbers are generated by the Polar method from a pair of
Uniform psuedo-random numbers as follows:
These uniform and Normal psuedo-random numbers are available
in equations as the [B/D] operands
urand and nrand respectively.