Implementing a portable FORTRAN Uniform (0,1) generator
Implementing a portable FORTRAN Uniform (0,1) generator
复制标题
实现便携式 FORTRAN Uniform (0,1) 生成器
DOI:
10.1177/003754978304100401
复制
发表时间:
1983
期刊:
影响因子:
--
通讯作者:
S. D. Roberts
中科院分区:
文献类型:
--
作者:
K. Marse;S. D. Roberts
The implementation and testing of a portable FORTRAN routine is described which utilizes a well-known random number generator to produce Uniform (0,1) values. The implementa tion techniques illustrate the advantages of a well-tested por table algorithm and expose some problems which commonly occur in the generation of Uniform (0, 1) numbers for applica tion areas such as simulation. These problems include the pit falls of using machine-dependent random number generators with unknown characteristics typically supplied with computer system software. The excellent global statistical properties of the generator used in this routine are documented and local testing of the Uniform (0,1) values produced is provided. An additional routine is described which enables the user to obtain indepen dent streams of values. Fifteen streams are rated for their per formance on uniformity and independence tests. The provid ed seed values enable the user to select streams with the desired properties for a particular application.