(j3.2006) Rationale for RANDOM_INIT?
Malcolm Cohen
malcolm
Wed Jan 10 21:25:52 EST 2018
>From a user's
>prespective, she has no way of knowing whether a single
>seed was used to initialize the PRNG in each image or
Oh yes they do.
>*distinct* seeds were used. That's an implementation detail,
No, it is part of the API.
RANDOM_SEED(GET=) and (PUT=) have requirements.
>The only thing that the user cares about is what
>does RANDOM_NUMBER return after a call to RANDOM_INIT with
>IMAGE_DISTINCT=.true. (and whether the sequences satisfy the
>properties of a uniform distribution on [0,1)).
That is absolutely not the case. The repeatability requirement is a quite common user requirement for RANDOM_NUMBER. There is no reason this should suddenly cease to be available just because the user also wants different sequences on different images.
Cheers,
--
..............Malcolm Cohen, NAG Oxford/Tokyo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.j3-fortran.org/pipermail/j3/attachments/20180111/50b52b54/attachment-0001.html>
More information about the J3
mailing list