-
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
-
calculator for simple arithmetic Operational Availability switches can be object...
计算器进行加减乘除等简单运算交换机即可供货客观和可国际化国苦苦观看过-calculator for simple arithmetic Operational Availability switches can be objective and international countries too hard to watch
- 2023-08-28 23:50:04下载
- 积分:1
-
VC源码完全模仿OICQ的界面的程序,做界面的可以下载看下。
VC源码完全模仿OICQ的界面的程序,做界面的可以下载看下。 -VC-source interface OICQ fully mimic the procedure, and can be downloaded facie interface.
- 2023-04-10 20:55:24下载
- 积分:1
-
实例03
实例03-网络聊天室客户端-03-network chat room client
- 2022-03-17 09:00:18下载
- 积分:1
-
Emulates a Turing Machine
Emulates a Turing Machine
- 2022-06-16 19:17:28下载
- 积分:1
-
很不错的财务管理系统,很完整,值得大家看看和参考啊
很不错的财务管理系统,很完整,值得大家看看和参考啊-Very good financial management system, it is complete, it is worth we look at and reference ah
- 2022-11-02 02:10:03下载
- 积分:1
-
生命游戏。单人玩的小游戏
生命游戏。单人玩的小游戏-Game of Life. Single-play game. . . . . . . . . . .
- 2022-04-08 08:22:43下载
- 积分:1
-
Kruskal最小生成树kruska L最小生成树Kruskal最小SPA…
kruskal minimum spanning tree kruska l minimum spanning tree kruskal minimum spanning tr-kruskal minimum spanning tree kruskal minimum spanning tree kruskal minimum spanning tree kruskal minimum spanning tree
- 2022-08-19 22:22:01下载
- 积分:1
-
hook,钩子,实现文件夹监控和相应的功能
hook,钩子,实现文件夹监控和相应的功能-hook
- 2022-04-28 22:44:31下载
- 积分:1
-
基于uml的工资管理系统~课程设计~比较适合初学~whut
基于uml的工资管理系统~课程设计~比较适合初学~whut-Salary management system based on uml Course Design ~ ~ ~ whut more suitable for beginners
- 2023-05-29 10:20:03下载
- 积分:1