Linear Congruential Generators
Linear Congruential Generators
复制标题
线性同余发生器
DOI:
10.1007/978-1-4615-2317-8_3
复制
发表时间:
1995
期刊:
影响因子:
--
通讯作者:
S. Tezuka
中科院分区:
文献类型:
--
作者:
S. Tezuka
The linear congruential method is the most popular algorithm for random number generation in the field of computer simulations.The linear congruential generator (LCG) is defined by $$ \begin{array}{*{20}{c}} {{X_n} = a{X_{n - 1}} + c(modM),} \\ {{u_n} = \frac{{{X_n}}}{M},} \end{array}$$ where a, c, and M are integers and Xn,n=1,2,...,is a sequence of integers with. The normalized sequence un, n =1,2,...,is a random number sequence in [0, 1). The following results tell us how to choose the parameters a, c, and M to obtain the maximal period lengths.