-
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
-
小小的电脑图书管理系统,用于管理电脑磁盘的图书信息,比如电子图书,还只是的初步的模型...
小小的电脑图书管理系统,用于管理电脑磁盘的图书信息,比如电子图书,还只是的初步的模型-tiny computerized library management system used to manage computer disk library information, such as electronic books, only the initial model
- 2022-12-04 14:35:03下载
- 积分:1
-
这是一个基于MFC的医院挂号系统,仅供参考
这是一个基于MFC的医院挂号系统,仅供参考-This is a hospital-based MFC registration system for reference purposes only
- 2022-12-06 22:05:03下载
- 积分:1
-
Visual C++
check web source code
VC++ 实现查看网页源码
使用 CInternetSession 对象和
CInternetFile 对象完成-Visual C++
check web source code
- 2022-04-28 01:21:00下载
- 积分:1
-
tts ,相必大家都熟悉,这个效果不错,可有可选择男声女声,音量等,效果还可以,但是比不上科大讯飞的那个,这是微软公开的...
tts ,相必大家都熟悉,这个效果不错,可有可选择男声女声,音量等,效果还可以,但是比不上科大讯飞的那个,这是微软公开的-tts,well known to everybody,have a good effect.you can choise man or woman voice,it not better than the one science and technology university developed.but it s microsoft s production.
- 2022-05-14 17:13:48下载
- 积分:1
-
MFC TCP客服端自动连接服务器
1.能够自动连接服务器端,并接受服务器发送内容。
2.能够最小化至托盘。
3.能够收放接受内容区域
- 2022-09-26 04:10:03下载
- 积分:1
-
VB编程中热键应用一例
VB编程中热键应用一例-VB application programming hotkey case
- 2022-02-03 06:44:14下载
- 积分:1
-
实现简单的画图,菜单,启动另一个窗口的程序。
实现简单的画图,菜单,启动另一个窗口的程序。-achieve a simple drawing, menu, start another window procedure.
- 2022-04-29 17:34:53下载
- 积分:1
-
关于用vb进行windows ce 开发的书籍。
关于用vb进行windows ce 开发的书籍。-vb for use on windows ce development of the books.
- 2023-04-22 07:05:03下载
- 积分:1
-
boxworld游戏自由布图,供boxworld.exe调用
boxworld游戏自由布图,供boxworld.exe调用-boxworld free game layout for boxworld.exe call
- 2022-04-02 04:51:07下载
- 积分:1