EXTREMELY PORTABLE RANDOM NUMBER GENERATOR

被引:10
|
作者
KRUSKAL, JB
机构
[1] Bell Telephone Labs, Inc., Murray Hill, NJ
关键词
linear sequential generators; pseudo random numbers; random generators; random number analysis; random number generators; random number program; random numbers;
D O I
10.1145/362848.362865
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Extremely portable subroutines are sometimes needed for which moderate quality and efficiency suffice. Typically, this occurs for library functions (like random number generation and incore sorting) which are not entirely universal or are not used in a standardized way. The literature on random number generators does not seem to contain an algorithm that meets requirements of this sort. An extremely portable 8-line FORTRAN program is provided which is based on an important paper by Coveyou and MacPherson (1967). Using their methods, Fourier analysis is applied to the probability function for the consecutive n-tuples provided by our generator (with n less than or equal to 4). While the small modulus which must be used to maintain portability prevents the quality of the generator from being high, the generator compares well with the bounds established in the above mentioned paper. © 1969, ACM. All rights reserved.
引用
收藏
页码:93 / &
相关论文
共 50 条