线性同余方法
Till now, there are a lot of generators such as the classical Fibonacci method, mid-square method, linear congruential method, feedback shift register method and combined method;
至今关于随机数发生器有很多的理论和方法,其中除了传统的Fibonacci法、平方取中法、线性同余法、位移寄存器法和组合方法;
Three uniform random sequences are built by the linear congruential method, of which two are used to form integer number and decimal fraction parts of the new random sequence respectively and the third to shuffle the new sequence.
采用线性同余法生成3个均匀分布随机序列,其中两个分别组成新的随机序列的整数和小数部分,第3个用来对新序列进行混洗。
英语网 · 双语娱乐资讯
英语网 · 高考英语