Location:
Search - 05041062
Search list
Description: 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
Platform: |
Size: 52813 |
Author: 吕军红 |
Hits:
Description: 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
Platform: |
Size: 52224 |
Author: 吕军红 |
Hits: