rngwell19937-package {rngwell19937} | R Documentation |
After loading the package, set.seed
, runif
and .Random.seed
refer to the generator WELL19937a by F. Panneton, Pierre L'Ecuyer and M. Matsumoto,
with a transformation to produce numbers in (0,1) with 53 or 32 random bits.
The default resolution is 53 bits and may be changed using
set.resolution
.
If the package is unloaded by detach("package:rngwell19937")
, the
default generator in R is restored.
F. Panneton, P. L'Ecuyer, and M. Matsumoto, ``Improved Long-Period Generators Based on Linear Recurrences Modulo 2'', ACM Transactions on Mathematical Software, 32, 1 (2006), 1-16.
set.resolution
,
well19937.validate