搜索资源列表
-
1下载:
用VC++6实现的一个伪随机数生成演示程序源码,包含了正态分布随机数生成和平均分布随机数两种生成方式。-VC 6 achieved a pseudo-random number generator demonstration program source code, including the normal random number generation and distribution of random numbers generated both ways.
-
-
0下载:
生成随机数的一个小程序,这种方法每次调用第一次产生的随机数相同率很高,但是做个循环连续调用几次,然后调用最后一次得到的随机数,就可以避免这种问题-Random Number Generation of a small program called this method the first time the same number of random high rate But to be a continuous cycle called several times, and then the
-
-
0下载:
Von Neuman在1940年提出了平方取中法,其原理是将一个给定的2n比特的数平方,然后高位补0得到4n比特的数,再截取中间的2n位进行下次迭代,并得到一个随机数序列。这种方法无论是在硬件实现上,还是在仿真测试上都比较容易实现,但是它的周期受初始值的影响很大,如果初始值选得不好,会严重影响随机数序列的质量和周期,而且其最大周期不会超过22n
随机数生成-Von Neuman in the 1940 square from France, Its principle is to be a
-
-
0下载:
演示了随机数的产生和使用-demonstration, the random number generation and use
-
-
0下载:
simple randamize function
X : 40, N : 20, Class(p) : 7,
Alpha : 15.000 , R : 3.000
Random number generation
pattern1 0.842000 0.607100 -0.741700 -0.508120 -0.154900 0.234680 -0.436420 0.293960 0.337880 -0.675100 0.314180 0.864260 -0.496540 0
-
-
0下载:
对链表分段的函数,使用链表的长度信息。其次要求把归并排序的每一步过程都打印出来。自己构造一个链表类并实现,用于排序。另外生成随机数的类,Section of the list function, use the length of the message list. Second, requested that the process every step of mergesort are printed. Construct their own class and implement a li
-
-
0下载:
随机数演示,随机数生成,生成随机数-Demonstrate random number, random number generation, random number generation ~~~~~~~~~~~~~~~~~~~~~~
-
-
0下载:
用c语言编写的产生正态随机数的源代码:
算法一产生12个(0,1)平均分布的随机函数,用大数定理可以模拟出正态分布。
算法二用到了数学中的雅可比变换,直接生成正态分布,但此算法在计算很大规模的数时
会出现溢出错误。-With the c language normal random number generation source code: Algorithm 1 produces 12 (0,1) the average distribution of the rand
-
-
0下载:
此头文件包含一个产生(0,1)的随机数的函数:random(),种子是系统当前时间,每次产生的伪随机数序列不一样。可直接调用此函数。-This header file contains a generation (0,1) random number function: random (), seed is the system current time, each produced by pseudo-random number sequences are different. Call th
-
-
0下载:
利用matlab语言编写的标准正态分布,泊松分布,瑞利分布下的随机数的产生。-Use of matlab language standard normal distribution, Poisson distribution, Rayleigh distribution under the random number generation.
-
-
1下载:
这是个很容易且广泛使用的简单算法,它基于Gary Miller的部分象法,有Michael Rabin发展。事实上,这是在NIST的DSS建议中推荐的算法的一个简化版。
首先选择一个代测的随机数p,计算b,b是2整除p-1的次数。然后计算m,使得n=1+(2^b)m。-This is a very easy and simple and widely used algorithm, which is based on some of Gary Miller as the law, ther
-
-
0下载:
Random Number Generation by -Random Number Generation by SSS
-
-
0下载:
GCC C语言大量随机数生成函数,正态分布,平均分布-GCC C language a lot of random number generation function, normal, evenly distributed ... ...
-
-
0下载:
随机数生成,先用random函数生成一个随机数,再通过DES加密算法对生成的随机数进行加密,增加随机性-Random number generation, first with the random function generates a random number, and then through the DES encryption algorithm to encrypt the random number generated to increase the randomness
-
-
0下载:
生成均匀分布随机数,在此基础上 生成各种离散型随机变量随机数,有0-1分布,泊松分布,几何分布,二项分布等原理及代码-Uniformly distributed random number generation, on the basis of a variety of discrete random variables generated random numbers, there are 0-1 distribution, Poisson distribution, geometric di
-
-
0下载:
visual c中随机数产生的程序,可以产生选择范围内的随机数。-visual c in the random number generation program, can generate the random number selection range.
-
-
0下载:
只是一个能够无限次不重复的随机数的产生小程序,希望对你有帮助。-Random number generation
-
-
0下载:
随机数产生代码,有多种随机数产生方式,可以参考修改,vc6.0下运行-Random number generator code, there are many ways to generate random numbers, you can refer to modify, run vc6.0
-
-
0下载:
不重复随机数
使用三种算法实现生成N个随机数的不重复排列。比较在N不同的情况下这三种算法的运行时间并进行复杂度分析。
利用时间函数生成N个随机数,然后根据上面的三种算法,既是通过生成不同于前i个已生成数比较,相同则去除,不同填入;或保留一个可记录元素是否出现的数组,来比较;或利用swap函数进行交换实现。来实现不重复随机数。-Random number does not repeat
There are three algorithms to generate random nu
-
-
0下载:
用于生成随机数的方法及例子,代码:randl.m(generation of random numbers)
-