-
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
-
LED控件,利用LED控件类实现的倒计时的程序.关键是LED控件类的使用方法....
LED控件,利用LED控件类实现的倒计时的程序.关键是LED控件类的使用方法. -LED control ,make count down with LED control class.The class reference method should be concerned.
- 2022-02-01 05:52:53下载
- 积分:1
-
similar resource management for internal adjustment frame parody
类似资源管理器内部调整边框的模仿-similar resource management for internal adjustment frame parody
- 2022-03-17 10:08:46下载
- 积分:1
-
本程序用C++语言实现了HTTP协议的请求消息,包括GET,POST方法,在windows下编译通过,可以运行。...
本程序用C++语言实现了HTTP协议的请求消息,包括GET,POST方法,在windows下编译通过,可以运行。-This procedure using C++ language implementation of the HTTP protocol" s request message, including GET, POST method, compiled through the windows, you can run.
- 2023-04-27 23:10:03下载
- 积分:1
-
lease read your package and describe it at least 40 bytes in English.
System wi...
lease read your package and describe it at least 40 bytes in English.
System will automatically delete the directory of debug and release, so please do not put files on these two directory.lease read your package and describe it at least 40 bytes in English.
System will automatically delete the directory of debug and release, so please do not put files on these two directory.
- 2022-09-09 17:50:02下载
- 积分:1
-
这个程序的头文件中包含四种排序方法:泡沫排序法(bubble),插入排序法(insertion),快速排序法(quick)和选择排序法(selection)。头...
这个程序的头文件中包含四种排序方法:泡沫排序法(bubble),插入排序法(insertion),快速排序法(quick)和选择排序法(selection)。头文件中还使用了模板技术,以便可以同时实现几种类型的排序算法。 dinimicky_hu对原程序做了修改和优化,使用了函数指针数组,并修改了一个BUG-The head file of this programme includes 4 methods of sorting : Bublle sorting,insertion sorting,quick sorting and selection sorting.Some
template technics are included in the head file in order to make these sorting metods achieved in the same time . The source code is recomposed and optimized by Dinimicky_hu , using the some arrays of function pointer ,and amened some bugs.
- 2022-07-19 03:30:28下载
- 积分:1
-
registry manipulation functions.
注册表操作函数.-registry manipulation functions.
- 2023-08-12 03:25:02下载
- 积分:1
-
ymud源码,想开发MUD客户端的可以参考
ymud源码,想开发MUD客户端的可以参考-ymud source, I would like to develop MUD client can refer to
- 2022-06-15 02:00:09下载
- 积分:1
-
Processes transactions like an ATM machine
Processes transactions like an ATM machine
- 2023-06-14 06:00:03下载
- 积分:1
-
小球碰倒窗口边界,按物理原则反弹。vb开发的小程序
小球碰倒窗口边界,按物理原则反弹。vb开发的小程序-Small ball碰倒window border, according to the physical principles of a rebound. vb development of small programs
- 2022-08-22 10:02:53下载
- 积分:1