-
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
-
This is a Maze algorithm C++ Source must be given the map width, height, as well...
这是一个走迷宫算法的C++源程序,必须给出地图的宽度、高度,以及入口和出口坐标作为输入。-This is a Maze algorithm C++ Source must be given the map width, height, as well as import and export of coordinates as input.
- 2022-01-26 15:07:38下载
- 积分:1
-
关于数控控制的非常完整的c++程序,包括了直线插补以及圆弧插补的程序...
关于数控控制的非常完整的c++程序,包括了直线插补以及圆弧插补的程序-CNC control on the very integrity of c++ Procedures, including linear interpolation and circular interpolation procedures
- 2022-03-24 14:00:51下载
- 积分:1
-
物流管理系统,用来管理企业ERP物料进出分析情况
物流管理系统,用来管理企业ERP物料进出分析情况-Logistics management system, used to manage access to corporate ERP materials analysis of the situation
- 2022-02-12 15:24:41下载
- 积分:1
-
1602k LCD code in C code
1602k LCD code in C code
- 2023-01-27 16:50:04下载
- 积分:1
-
MATLAB的BP算法
matlab back propagation algorithm
- 2023-03-29 17:05:03下载
- 积分:1
-
+ +深度详细代码,用于风险投资+编程
VC++深入详解code,适合vc++编程-VC++ Depth detailed code, for vc++ Programming
- 2022-06-28 04:29:10下载
- 积分:1
-
好 有点小bug帮我
好 有点小bug帮我-good a little help me find the bug
- 2022-08-12 22:54:46下载
- 积分:1
-
图形化界面的五子棋游戏,可以两人对战下,也可以挑战AI的
图形化界面的五子棋游戏,可以两人对战下,也可以挑战AI的-Graphical interface Gobang game, you can both play, they can challenge the AI
- 2022-03-30 14:15:04下载
- 积分:1
-
视觉小游戏,可运用到多媒体中,光点追踪闪烁,
值得参考,运行通过,做了一些优化....
视觉小游戏,可运用到多媒体中,光点追踪闪烁,
值得参考,运行通过,做了一些优化.-Visual game can be applied to multimedia, optical point tracking blinking, it is also useful, run through, to do some optimization.
- 2022-10-28 17:20:04下载
- 积分:1