FLAT - Uniform (0.0,1.0) random number generator.

Usage:

a = flat(seed)

Where:

a
will be a random number in the open interval (0,1).
seed
is a real constant or variable used as a seed to the random number generator. "seed" is not changed by the call, but changing the value of seed will start a new sequence.

Description:

FLAT is used to generate a uniform random real variate.

Copyright © 1996, Thinkage Ltd.