FAST PSEUDORANDOM GENERATORS FOR NORMAL AND EXPONENTIAL VARIATES

Authors
Citation
Cs. Wallace, FAST PSEUDORANDOM GENERATORS FOR NORMAL AND EXPONENTIAL VARIATES, ACM transactions on mathematical software, 22(1), 1996, pp. 119-127
Citations number
3
Categorie Soggetti
Computer Sciences",Mathematics
ISSN journal
00983500
Volume
22
Issue
1
Year of publication
1996
Pages
119 - 127
Database
ISI
SICI code
0098-3500(1996)22:1<119:FPGFNA>2.0.ZU;2-X
Abstract
Fast algorithms for generating pseudorandom numbers from the unit-norm al and unit-exponential distributions are described. The methods are u nusual in that they do not rely on a source of uniform random numbers, but generate the target distributions directly by using their maximal -entropy properties. The algorithms are fast. The normal generator is faster than the commonly used Unix library uniform generator ''random' ' when the latter is used to yield real values. Their statistical prop erties seem satisfactory, but only a limited suite of tests has been c onducted. They are written in C and as written assume 32-bit integer a rithmetic. The code is publicly available as C source and can easily b e adopted for longer word lengths and/or vector processing.