搜索资源列表
rand
- 均匀分布伪随机数发生器 伪随机数在计算机软件设计中有很广泛的用途。本文介绍了基于数学方法的利用计算机产生伪随机数的一种方法,即线性同余法,任何伪随机数的产生都是运用递推的原理来生成的。以及在Visual C++环境中产生伪随机数的两个重要函数,rand和srand函数,正确地使用这两个函数是产生性能良好的伪随机数的关键
rand
- 均匀分布伪随机数发生器 伪随机数在计算机软件设计中有很广泛的用途。本文介绍了基于数学方法的利用计算机产生伪随机数的一种方法,即线性同余法,任何伪随机数的产生都是运用递推的原理来生成的。以及在Visual C++环境中产生伪随机数的两个重要函数,rand和srand函数,正确地使用这两个函数是产生性能良好的伪随机数的关键 -Uniformly distributed pseudo-random number generator,
generate-random-numberithm
- 用线性同余法和Wichman-Hill算法产生[0,1]均匀分布的随机数-With a linear congruent method and Wichman-Hill algorithm to generate [0,1] uniformly distributed random number
pi_lcg
- 用线性同余法产生随机数,然后用蒙特卡洛算法计算圆周率。牛人编写,精度达到0.0001-With a linear congruent method to produce random numbers and then use Monte Carlo algorithm to calculate pi. Cattle were written, with accuracy of 0.0001
random_linear_residue
- matlab写的产生伪随机数的方法,用的是线性同余法-the program is designed by using linear residual method ,whose function is to produce random number from 0 to 1.
random_include
- 基于DSP的随机数生成头文件 调用mm函数后输入number即可得到相应长度的随机数,使用的是线性同余法,已经在CCS上调试通过并经过TMS320C6416实际跑程序验证,在生成高斯白噪声和保密码等领域都有一定用处,希望有所帮助-a include text file of random number generator based on DSP
vc_random
- 线性同余法生成随机数的文章,描述了算法原理,和Vc代码实现-Linear congruential method to generate random numbers of the article, describes the principle of the algorithm, and Vc code
lcg
- 这是线性同余法的改进算法,希望对大家学习随机数生成有用-This is the linear congruential method of the improved algorithm, we hope to learn a useful random number generator
random
- 用线性同余法实现产生随机数。它可以产生0到255的随机数-Achieved with a linear congruential method for generating random numbers. It can generate a random number from 0 to 255
lin
- 利用平方取中法 和 线性同余法 生成伪随机数-France to take advantage of the square and linear congruential method to generate pseudo-random number
test
- 程序功能:产生0---1之间均匀分布的随机数! 方法:线性同余法-Program features: produce 0--- 1 between uniformly distributed random numbers! Methods: linear congruential method
m-file
- 用MATLAB进行随机数模拟-线性同余法-Random number simulation using MATLAB
randproc
- 伪随机数的产生算法,利用线性同余法产生在(min,max)上精度为4位小数的平均分布的随机数,实现在min 到max 范围内产生服从正态分布的随机数-Pseudo-random number generation algorithm, using the linear congruential method to generate the (min, max) on the accuracy of four decimal evenly
homework1
- 线性同余法生成随机数的例子,教学使用-Linear congruential method to generate a random number
random-number-producer
- 利用平方取中法,线性同余法产生伪随机数。可以设置随机数种子。最后结果作为文本输出。-Generates a random number
randproc-student
- 生成随机数,均匀分布的线性同余法,指数分布随机数,泊松分布-Generate random numbers, uniform distribution of the linear congruential method, exponentially distributed random numbers, the Poisson distribution
BiShe
- 改进线性同余法、混合同余法、组合法生成随机数-Improved linear congruential method, mixed congruential method, combination method to generate random numbers
prng
- 采用线性同余法的素数模乘同余发生器产生随机数,采用5级流水线设计-Using a linear congruential method prime modulus multiplicative congruential random number generator, using five pipeline design
Random-Number-Generator
- 利用线性同余法生成均匀分布的随机数,同时基于均匀随机数生成正态分布,01分布随机数。-The programme generates the uniform random numbers, on which the generation of gauss random numbers and 0-1 random numbers are based.
source
- 线性同余法-Wichmann-Hill算法产生服从均匀分布的随机变量(The linear congruence -Wichmann-Hill algorithm produces random variables subject to uniform distribution)