G
glen herrmannsfeldt
(snip, I wrote)
(snip)
In a large fraction of the cases, 2 billion different seeds
are enough, but one can still desire the appropriate randomness
from those different seeds.
Given a default integer, one might fill an array with that
integer and use that as a seed. That might be good for some,
not so good for others. Even more, for standard Fortran such
should be done without knowing the range of values of an integer
variable.
R has two seeding functions, one that takes a full length state
array, and the other takes a single integer. That makes sense
to me.
-- glen
(snip)
So for the put= values in fortran, you need a vector of pseudorandom
integers, which is as good as it gets without truly random devices,
making--one hopes-a period that is large with respect to the interval
you're interested in.
In a large fraction of the cases, 2 billion different seeds
are enough, but one can still desire the appropriate randomness
from those different seeds.
It doesn't seem like a problem with epistemology as much
a mathematical ceiling on how much randomness you can create
by a handful of values.
Given a default integer, one might fill an array with that
integer and use that as a seed. That might be good for some,
not so good for others. Even more, for standard Fortran such
should be done without knowing the range of values of an integer
variable.
R has two seeding functions, one that takes a full length state
array, and the other takes a single integer. That makes sense
to me.
-- glen