rand

所属分类:数值算法/人工智能
开发工具:Visual C++
文件大小:207KB
下载次数:162
上传日期:2008-01-07 16:10:22
上 传 者leix
说明:  均匀分布伪随机数发生器 伪随机数在计算机软件设计中有很广泛的用途。本文介绍了基于数学方法的利用计算机产生伪随机数的一种方法,即线性同余法,任何伪随机数的产生都是运用递推的原理来生成的。以及在Visual C++环境中产生伪随机数的两个重要函数,rand和srand函数,正确地使用这两个函数是产生性能良好的伪随机数的关键
(Uniformly distributed pseudo-random number generator, pseudo-random number in the computer software design in a very wide range of functions. This paper introduces the mathematical methods based on the use of computer generated pseudo-random number in a way that the linear congruence method, any pseudo-random number generated is to use the principle of recursive generated. As well as in Visual C++ Environment pseudo-random number generated two important functions, rand and srand functions, proper use of these two functions is the good performance of the pseudo-random number key)

文件列表:
源程序\伪随机数发生器.ncb (41984, 2008-01-07)
源程序\伪随机数发生器.plg (1380, 2008-01-07)
源程序\伪随机数发生器.dsp (3497, 2007-02-03)
源程序\random.txt (800, 2008-01-07)
源程序\伪随机数发生器.dsw (553, 2007-02-03)
源程序\伪随机数发生器.c (4026, 2008-01-07)
源程序\伪随机数发生器.opt (54784, 2008-01-07)
源程序\Debug (0, 2007-02-03)
源程序 (0, 2007-02-03)

近期下载者

相关文件


收藏者