rngwell19937-package {rngwell19937}R Documentation

Random number generator of Mersenne-Twister type with resolution 53 bits

Description

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.

References

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.

See Also

set.resolution, well19937.validate


[Package rngwell19937 version 0.5-1 Index]