Efficient and portable combined random number generators
- 1 June 1988
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 31 (6), 742-751
- https://doi.org/10.1145/62959.62969
Abstract
In this paper we present an efficient way to combine two or more Multiplicative Linear Congruential Generators (MLCGs) and propose several new generators. The individual MLCGs, making up the proposed combined generators, satisfy stringent theoretical criteria for the quality of the sequence they produce (based on the Spectral Test) and are easy to implement in a portable way. The proposed simple combination method is new and produces a generator whose period is the least common multiple of the individual periods. Each proposed generator has been submitted to a comprehensive battery of statistical tests. We also describe portable implementations, using 16-bit or 32-bit integer arithmetic. The proposed generators have most of the beneficial properties of MLCGs. For example, each generator can be split into many independent generators and it is easy to skip a long subsequence of numbers without doing the work of generating them all.Keywords
This publication has 17 references indexed in Scilit:
- A pseudorandom number generatorSIMULATION, 1985
- An efficient generator of uniformly distributed random variates between zero and oneSIMULATION, 1985
- Implementing a portable FORTRAN Uniform (0,1) generatorSIMULATION, 1983
- Optimal multipliers for pseudo-random number generation by the linear congruential methodBIT Numerical Mathematics, 1983
- A Statistical Evaluation of Multiplicative Congruential Random Number Generators with Modulus 231— 1Journal of the American Statistical Association, 1982
- A More Portable Fortran Random Number GeneratorACM Transactions on Mathematical Software, 1979
- Quasi-Monte Carlo methods and pseudo-random numbersBulletin of the American Mathematical Society, 1978
- How to calculate shortest vectors in a latticeMathematics of Computation, 1975
- Coding the Lehmer pseudo-random number generatorCommunications of the ACM, 1969
- Fourier Analysis of Uniform Random Number GeneratorsJournal of the ACM, 1967