-
procedures have only mean of 0 and variance for a random number to produce the m...
程序只产生均值为0,方差为1的随机数,要产生均值为E,方差为D的随机数,只要随机数*D+E就可以了。 高斯随机数程序还是带参数的,参数是用来描述正态分布的一个浮点数表。在执行程序时 ,先生成这个表(只做一次),而后就可以任意多次地执行高斯随机数产生程序了。 使用C是为了保证通用性,如果有人觉得麻烦,可以用C++做个类,把这些东西都封装进去 。 另外,如果有人有兴趣,也可以把它修改成任意形式分布的连续随机数产生程序,修改非 常简单,这里就不提示了。-procedures have only mean of 0 and variance for a random number to produce the mean E, D variance for the random number, as long as a few random E* D on it. Gaussian random process parameters or with the parameter is used to describe a normal distribution of the float table. In the implementation process, Mr. into the table (one-off), and you can repeatedly arbitrary implementation Gaussian random number generator proceedings. The use of C is to ensure commonality, if someone finds trouble, can be used to be a Class C, all these things into account Packaging. Also, if someone is interested, can you change the form of arbitrary distribution of continuous random number generator procedure is very simple changes, I will not be sacrificed as a result.
- 2022-10-24 11:05:03下载
- 积分:1
-
编译原理实验用来识别无符号数,代码不长.
编译原理实验用来识别无符号数,代码不长.-compiler principle experiment with symbols used to identify the number code is not long.
- 2023-04-03 04:45:03下载
- 积分:1
-
a opening image file program. having some algorithms in common use.
一个打开图象文件的程序!里面有一些常用的算法!-a opening image file program. having some algorithms in common use.
- 2022-12-27 16:25:04下载
- 积分:1
-
题目:有两个磁盘文件A和B,各存放一行字母,要求把这两个文件中的信息合并(按字母顺序排列), 输出到一个新文件C中。...
题目:有两个磁盘文件A和B,各存放一行字母,要求把这两个文件中的信息合并(按字母顺序排列), 输出到一个新文件C中。-topic : There are two disk files A and B, the store his letter, the requirements of these two documents, the information merger (in alphabetical order), the output to a new file C.
- 2022-01-31 16:14:08下载
- 积分:1
-
报警程序比较简单,中午和下午提醒一点。
闹钟程序,比较简单,中午和下午各提醒一次,时间请有需要者自行在程序里改-alarm procedures are relatively simple, at noon and in the afternoon to remind a time please those who need to change the program
- 2022-02-06 05:25:46下载
- 积分:1
-
在考试中出现的项目详细信息
它是非常有用和易于开发。其访问和检索容易地对系统模型。现在,我的文件夹会被隐藏查看,访问folde双击上的锁。它会询问密码,输入密码并完成。的要更改密码与新密码,在上面的代码替换
- 2022-03-12 03:52:56下载
- 积分:1
-
procedures for handling a unicode string, two procedures resources, and the stri...
程序1处理unicode字符串,程序2 进行资源读取和字符串类的CString 扩展类 程序3 不依赖系统的CString类,程序4CUnicodeString类,程序5实现基本功能的
字符串类-procedures for handling a unicode string, two procedures resources, and the string read like CString extension of the class three procedures do not rely on the system CStrin g category, procedures CUnicodeString category four, five procedures to achieve the basic functions of the string type
- 2022-03-25 09:02:20下载
- 积分:1
-
小游戏连连看,两个相同的图案中间无阻塞可以连通就可以清除。最短消除完要多少计数时间...
小游戏连连看,两个相同的图案中间无阻塞可以连通就可以清除。最短消除完要多少计数时间-small game, the same two patterns among non-blocking connectivity can be removed. End eliminate the shortest amount of time count
- 2022-01-22 10:37:34下载
- 积分:1
-
: 傲视江湖V2.2最新修正版(据说是最好的江湖哦!)真的是一个好江湖,我不做介绍,自己下回去看吧!!!...
: 傲视江湖V2.2最新修正版(据说是最好的江湖哦!)真的是一个好江湖,我不做介绍,自己下回去看吧!!! -disdaining JIANG HU V2.2 is updated version, and it is realy good. If you don t believe it ,download and try!!!
- 2022-01-27 22:28:42下载
- 积分:1
-
半透明窗口,短小精悍,使用方便,操作简单!
半透明窗口,短小精悍,使用方便,操作简单!
-translucent window, small and easy to use, simple!
- 2022-02-07 16:53:54下载
- 积分:1