登录
首页 » Windows开发 » procedures have only mean of 0 and variance for a random number to produce the m...

procedures have only mean of 0 and variance for a random number to produce the m...

于 2022-10-24 发布 文件大小:1.85 kB
0 205
下载积分: 2 下载次数: 1

代码说明:

程序只产生均值为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.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • PMS命令生成器
    PMS命令生成器,简单的命令生成工具。 PMS command generator, simple command generation tool.
    2022-08-16 13:43:56下载
    积分:1
  • 采取逆滤波和维纳滤波两种图像恢复算法对退化图像的恢复实现过程,效果不错...
    采取逆滤波和维纳滤波两种图像恢复算法对退化图像的恢复实现过程,效果不错-Using inverse filtering and wiener filtering to recorver the extinction graph
    2022-04-06 11:24:12下载
    积分:1
  • 孙鑫最新课件源代码vc++,绝对正确完整
    孙鑫最新课件源代码vc++,绝对正确完整-SUN Xin latest software source code vc++, the absolute accuracy and completeness of
    2022-01-21 03:17:36下载
    积分:1
  • MFC单文档手动更换背景图片
    本例采用vs2010开发工具,单文档框架结构,设置单文档背景图片,在菜单栏中弹出一个对话框,在对话框中点击按钮,然后选择bmp格式图片,调用view中的ondraw函数更换背景图片。
    2022-08-14 23:54:42下载
    积分:1
  • 人脸识别系统
    人脸识别系统央演示版,这是一个人脸识别的C++系统,供大家学习和参考,本产品可以在数字监控系统中,实时处理高清摄像头拍摄的视频流,它可以实现自动多人脸跟踪、记录和与数据库图像进行比对。基于PC和Web网络应用的人脸识别产品 VeriLook人脸识别技术面向开发商和集成商,提供高可靠性的真实人脸探测、多人同时处理、1:1以及1:N人脸识别功能。 VeriLook以软件开发包SDK的形式销售,专门针对PC平台和网络(Web)应用,支持Microsoft Windows, Linux、Mac OS X以及Android平台。 
    2022-09-05 21:35:08下载
    积分:1
  • Floyd algorithm to calculate arbitrary shortest path between two points, and to...
    Floyd算法,计算任意两点间的最短路径,并加入MFC和文件操作,比较实用。-Floyd algorithm to calculate arbitrary shortest path between two points, and to join MFC and file operations, more practical.
    2022-01-24 17:52:09下载
    积分:1
  • 可以运行,非常好用。在XP上运行。内含说明。
    可以运行,非常好用。在XP上运行。内含说明。-You can run, very easy to use. In XP.
    2022-03-11 04:55:34下载
    积分:1
  • 树的建立和遍历 可以实现的VC
    树的建立和遍历 可以实现的VC-the establishment and tree traversal can be achieved VC
    2022-03-11 08:01:39下载
    积分:1
  • stl帮助文档
    stl函数列表及解释,stl函数列表及解释,stl函数里表及解释,stl函数列表及解释,stl函数列表及解释,stl函数列表及解释
    2022-08-11 22:51:10下载
    积分:1
  • Dynamic Library has prepared on the use of other non
    动态库编写,编写其他非VC使用的动态库,一个简单的测试例子-Dynamic Library has prepared on the use of other non-VC dynamic library, a simple test case
    2022-07-01 01:16:52下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载