05041062
所属分类:数值算法/人工智能
开发工具:Visual C++
文件大小:51KB
下载次数:106
上传日期:2006-04-04 21:52:36
上 传 者:
lvjunhong
说明: 1.产生(0-1)分布随机数的方法:z i =(16807zi-1 +1)mod(pow(2,32)).被主函数调用.
2.产生U(0-1)分布利用公式:x1=sqrt(-2lnU1)cos(2PiU2), x2=sqrt(-2lnU1)sin(2PiU2)
3.产生瑞利分布,用两个独立同分布的正态分布值,用公式 x= sqrt(Y1*Y1+Y2*Y2)产生瑞利随机数.
4泊松分布
(1. 20 (0-1) random number distribution methods : i = z (16807zi-1 1) mod (pow (2,32)). The main function was called. 2. Have U (0-1) distribution using the formula : x1 = sqrt (-2lnU1) cos (2PiU2), x2 = sqrt (-2lnU1) sin (2PiU2) 3. Rayleigh distribution, using two independent normal distribution with the distribution of values with the formula x = sqrt (Y1- Y2 Y1- Y2)- Health Rayleigh random number. 4 Poisson distribution)
文件列表:
05041062.doc (91648, 2005-10-14)
近期下载者:
相关文件:
收藏者: