Abstract

Some one-line random number generators, i.e. generators requiring a single FORTRAN instruction are discussed, and some short FORTRAN programs which mix several such generators are described. The aim is to provide methods for incorporating random number generators directly in FORTRAN programs, by means of a few in-line instructions. The advantages are speed (avoiding linkage to and from a subroutine), convenience, and versatility. Anyone wishing to experiment with generators, either using congruential generators by themselves or mixing several generators to provide a composite with potentially better statistical properties than the library generators currently available, may wish to consider some of the simple FORTRAN programs discussed here.

Keywords

FortranComputer scienceSubroutineRandom number generationProgramming languagePseudorandom number generatorLine (geometry)Mixing (physics)Parallel computingAlgorithmMathematicsPhysics

Affiliated Institutions

Related Publications

Publication Info

Year
1968
Type
article
Volume
11
Issue
11
Pages
757-759
Citations
69
Access
Closed

External Links

Social Impact

Social media, news, blog, policy document mentions

Citation Metrics

69
OpenAlex

Cite This

George Marsaglia, T. A. Bray (1968). One-line random number generators and their use in combinations. Communications of the ACM , 11 (11) , 757-759. https://doi.org/10.1145/364139.364158

Identifiers

DOI
10.1145/364139.364158