| A portable random number generator well suited for the rejection method |
| Full text |
Pdf
(370 KB)
|
| Source
|
ACM Transactions on Mathematical Software (TOMS)
archive
Volume 19 , Issue 4 (December 1993)
table of contents
Pages: 489 - 495
Year of Publication: 1993
ISSN:0098-3500
|
|
Authors
|
|
W. Hörmann
|
Univ. of Economics and Business Administration, Vienna, Austria
|
|
G. Derflinger
|
Univ. of Economics and Business Administration, Vienna, Austria
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 9, Downloads (12 Months): 28, Citation Count: 0
|
|
|
ABSTRACT
Up to now, all known efficient portable implementations of linear congruential random number generators with modulus 231 – 1 have worked only with multipliers that are small compared with the modulus. We show that for nonuniform distributions, the rejection method may generate random numbers of bad qualify if combined with a linear congruential generator with small multiplier. A method is described that works for any multiplier smaller than 230. It uses the decomposition of multiplier and seed in high-order and low-order bits to compute the upper and lower half of the product. The sum of the two halfs gives the product of multiplier and seed modulo 221 – 1. Coded in ANSI-C and FORTRAN77 the method results in a portable implementation of the linear congruential generator that is as fast or faster than other portable methods.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
AFFLERBACH, L., AND HORMANN, W. 1992. Nonuniform random numbers: a sensitivity analysis for transformation methods. In International Workshop on Computat~onally Intenswe Methods ~n Simulation and Optimization, Springer-Verlag, Berlin. U. Dieter and G. Ch. Pfiug, Ed., Lecture Notes in Econom. Math. Systems 374, 135-144.
|
| |
2
|
|
| |
3
|
|
| |
4
|
GROTHE, H. 1987. Matrix generators for pseudo-random vector generation. Stattstical Papers 28, 233 238.
|
| |
5
|
|
 |
6
|
|
 |
7
|
|
| |
8
|
MARSE, K., AND ROBERTS, S. D. 1983. Implementing a portable Fortran uniform (0, 1) generator. Simulation 41, 4 (Oct.), 135-139.
|
 |
9
|
|
 |
10
|
|
 |
11
|
|
REVIEW
"William J. J. Rey : Reviewer"
The authors draw the reader's attention to a few well-known aspects
of random number generation, with emphasis on the rejection method to
generate nonuniform variates. They consider one known purely
multiplicative linear congruential generator
more...
|