-
程序只产生均值为0,方差为1的随机数,要产生均值为E,方差为D的随机数,只要随机数*D+E就可以了。高斯随机数程序还是带参数的,参数是用来描述正态分布的一个浮点...
程序只产生均值为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.
- 2023-08-17 15:20:03下载
- 积分:1
-
数学计算的Lisp程序,可以使用CAD平台。
数学计算lisp程序,CAD平台均可使用。-Mathematical calculations lisp procedures, CAD platform can be used.
- 2023-06-16 14:00:02下载
- 积分:1
-
DESIGN OF STEEL STRUCTURES
DESIGN OF STEEL STRUCTURES
- 2023-04-30 22:35:03下载
- 积分:1
-
这里是有关材料力学的工程分析软件,是学习工程力学的学生的一个不可少的工具,欢迎大家的进入...
这里是有关材料力学的工程分析软件,是学习工程力学的学生的一个不可少的工具,欢迎大家的进入-here is the mechanical engineering and analysis software engineering mechanics is learning to the students in an indispensable tool, we welcome the entry! !
- 2022-04-22 16:41:02下载
- 积分:1
-
2,算法设计线性时间选择
2,算法设计线性时间选择-2, the algorithm design of linear time to choose
- 2022-07-23 18:06:42下载
- 积分:1
-
A fast Fourier transform tool
windows 平台下的很好用,很快速,功能强大的快速傅立叶变换动态连接库,有头文件和说明书。-A fast Fourier transform tool
- 2022-08-10 12:03:45下载
- 积分:1
-
acm.zju.edu.cn第1074,1005,1010题
acm.zju.edu.cn第1074,1005,1010题-acm.zju.edu.cn that section 1074,1005,
- 2022-11-03 15:05:03下载
- 积分:1
-
school students encountered trouble is not the means to study the polymorphism u...
学C++的同学是不是遇到麻烦了,就是学不懂多态性的呀,我这么有好多实例,那样你就不用担心了-school students encountered trouble is not the means to study the polymorphism understand it, I have so many examples, as you do not have to worry
- 2022-05-12 20:25:35下载
- 积分:1
-
pagerank的mapreduce实现
MapReduce一开始是由Google提出的一种云计算的编程架构,用来并行处理海量数据 。本例提供一个简单的pagerank算法的MapReduce上的实现。
- 2022-11-01 14:30:03下载
- 积分:1
-
研究生数学建模关于交警服务平台调度问题
此程序为2011年研究生数学建模试题的解答。程序中用到了Floyd算法,遗传算法,很好的解决了该问题。
- 2023-07-06 21:55:03下载
- 积分:1