-
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
-
VC源代码应用小程序MD5算法示例,比较难
VC源代码应用小程序MD5算法示例,比较难-VC source Application small program MD5 algorithm for example, more difficult
- 2022-03-01 21:28:46下载
- 积分:1
-
查看帮助及调用源码了解api使用方法,dephi7
查看帮助及调用源码了解api使用方法,dephi7-View the source code to help and understand the api call to use, dephi7
- 2022-02-05 13:58:34下载
- 积分:1
-
Vista style to imitate the form, you can achieve perfect transparency effects
模仿vista风格的窗体,可以实现完美的透明效果-Vista style to imitate the form, you can achieve perfect transparency effects
- 2022-06-16 22:22:13下载
- 积分:1
-
用vc++开发的downloade制造工具
是一个学习的好例子哦
用vc++开发的downloade制造工具
是一个学习的好例子哦-With vc++ Developed downloade manufacturing tool is a good example of a learning Oh
- 2022-08-11 07:21:47下载
- 积分:1
-
一个LSP程序,支持UNICODE,属于socket底层,与系统的安全有关,本例中实现HTTP协议的转译...
一个LSP程序,支持UNICODE,属于socket底层,与系统的安全有关,本例中实现HTTP协议的转译-LSP application,translating HTTP to a object you want.
- 2022-02-16 08:00:39下载
- 积分:1
-
扩展的编程实例,比较多的程序
vc++ 的扩展编程的一些实例,比较多的程序-vc expansion of the programming examples, more procedures
- 2022-01-31 12:40:27下载
- 积分:1
-
This is an SMS
这是一个有关MOBILE 关SMS的操作-This is an SMS-related MOBILE clearance operation
- 2022-07-12 06:24:23下载
- 积分:1
-
vc.net write the dynamic process of small mouse, the mouse showed that you no lo...
vc.net写的动态鼠标的小程序,使你的鼠标显示不再枯燥-vc.net write the dynamic process of small mouse, the mouse showed that you no longer boring
- 2022-03-11 08:48:43下载
- 积分:1
-
使用c++编写的Pos机前台程序。自带小型汉字库,可在控制台上直接运行...
使用c++编写的Pos机前台程序。自带小型汉字库,可在控制台上直接运行-use Pos c prepared by the procedures for the future. Store bringing their small, the console directly operation
- 2022-08-09 02:55:41下载
- 积分:1