-
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
-
430的149的timer功能使用源码,测试通过
430的149的timer功能使用源码,测试通过-430code
- 2022-03-18 12:21:00下载
- 积分:1
-
Freescale iMX35 WinCE 6.0 BSP (2009
Freescale iMX35 WinCE 6.0 BSP (2009-11) version
- 2022-09-20 23:55:03下载
- 积分:1
-
err
随着小汽车产业的发展,我国大中城市机动化是不可遏制的事实。我国大中城市应严肃正视这个问题。停车问题在我国大城市现已成为难题,如何对停车设施进行合理地规划,对车辆停放进行有效地管理,成为我国大中城市迫切解决的问题。智能停车场管理系统的最终目的是改善停车麻烦的状况,提高城市交通系统的效率与功能,通过为司机提供泊位信息,帮助找到合适的停车位置。要达到这个目的,需要建立在城市整体停车信息的把握上,因此,通过建立一套完整的智能停车管理系统,将会更好的将停车资源合理配置。-err
- 2022-11-24 08:00:03下载
- 积分:1
-
大与它;
big gb2312 可以做为delphi工程 简繁 批量转换参考-big
- 2022-01-26 06:02:24下载
- 积分:1
-
windowsNT下读写端口
windowsNT下读写端口-read and write ports under Windows NT.
- 2022-11-21 07:50:03下载
- 积分:1
-
自己编写的一个小玩意
自己编写的一个小玩意-themselves prepared a plaything
- 2022-02-21 15:36:51下载
- 积分:1
-
ov3620 table ov3620 table
ov3620 table ov3620 table
- 2023-03-10 00:15:03下载
- 积分:1
-
windows main 程序作为class 成员
的各种实例
windows main 程序作为class 成员
的各种实例-windows main proceedings as a member of the class examples
- 2022-12-22 07:15:03下载
- 积分:1
-
压缩包包含了C
压缩包包含了C-编译器的设计文档与源代码,供学习参考。-compressed contains C-Compiler design documents and source code for the study reference.
- 2022-02-15 11:47:45下载
- 积分:1