Skip to content
Prev 3337 / 63424 Next

RNG usability

I thought Box-Muller just transformations uniform numbers? Does its
state just refer to whether an even or odd number of numbers have been
produced, and in the later case keep the last one for using the next
time?
`.Random.seed'.

But then I'm back to the original problem (which fortunately does not
seem to be a problem for the uniform generator): Using B-M for rnorm I
can't query the state at any given time and then reliably reset to that
state?

Paul

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._