On input: the number of random numbers to be generated.
— Input/Output: INTEGER STATE(*)
On input: the internal state of your generator.
— Output: DOUBLE PRECISION X(N)
On output: the array of N uniform distributed random numbers,
each in the half-open interval [0.0, 1.0) - i.e. 0.0
is a legitimate return value, but 1.0 is not.
— Output: INTEGER INFO
On output: a flag which you can use to signal an error in the
call of UGEN - for example, if UGEN is called
without being initialized by UINI.