On the lattice structure of the add-with-carry and subtract-with-borrow random number generators
- 1 October 1993
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Modeling and Computer Simulation
- Vol. 3 (4) , 315-331
- https://doi.org/10.1145/159737.159749
Abstract
Marsaglia and Zaman recently proposed new classes of random number generators, called add-with-carry (AWC) and subtract-with-borrow (SWB), which are capable of quickly generating very long-period (pseudo)-random number sequences using very little memory. We show that these sequences are essentially equivalent to linear congruential sequences with very large prime moduli. So, the AWC/SWB generators can be viewed as efficient ways of implementing such large linear congruential generators. As a consequence, the theoretical properties of such generators can be studied in the same way as for linear congruential generators, namely, via the spectral and lattice tests. We also show how the equivalence can be exploited to implement efficient jumping-ahead facilities for the AWC and SWB sequences. Our numerical examples illustrate the fact that AWC/SWB generators have extremely bad lattice structure in high dimensions.Keywords
This publication has 6 references indexed in Scilit:
- Testing random number generatorsPublished by Association for Computing Machinery (ACM) ,1992
- A New Class of Random Number GeneratorsThe Annals of Applied Probability, 1991
- A random number generator for PC'sComputer Physics Communications, 1990
- A review of pseudorandom number generatorsComputer Physics Communications, 1990
- Random numbers for simulationCommunications of the ACM, 1990
- Matrices and the structure of random number sequencesLinear Algebra and its Applications, 1985