nag_random_init_nonrepeatable (g05ccc) sets the seed used by the basic generator in Chapter g05
to a non-repeatable initial value.
nag_random_init_nonrepeatable (g05ccc) sets the internal seed used by the basic generator nag_random_continuous_uniform (g05cac)
to a value
calculated from the setting of the real-time clock. It then generates the value
and discards it, i.e., the first available value is
This function will yield different subsequent sequences of random numbers in different runs of the calling program. It should be noted that there is no guarantee of statistical properties between sequences, only within sequences.
The example program prints the first five pseudorandom real numbers from a uniform distribution between 0 and 1, generated by nag_random_continuous_uniform (g05cac)
after initialization by nag_random_init_nonrepeatable (g05ccc). The program should give different
results each time it is run.