登录
首页 » 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 189
下载积分: 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 个回复

  • a tiny useful midi player
    很小巧实用的midi播放器!-a tiny useful midi player
    2022-07-07 14:45:26下载
    积分:1
  • ORK LIBRARY
    最好的地理数据库之一;
    2022-06-13 12:04:25下载
    积分:1
  • 改变桌面墙纸,试下看
    改变桌面墙纸,试下看-change desktop wallpaper, we look at test
    2023-05-19 03:15:02下载
    积分:1
  • Mytob.BSNotes super version (for win). Rar
    定时关机超强版(for win).rar-Mytob.BSNotes super version (for win). Rar
    2022-11-19 18:50:04下载
    积分:1
  • 用vc++的密码破译小程序,很好玩。
    用vc++开发的密码破译小程序,很好玩。-with vc++ code-breaking development of the small program is a lot of fun.
    2022-01-31 16:39:24下载
    积分:1
  • "Wubi coding Check System" implementation : a CD
    “五笔编码速查系统”执行说明: 1、 光盘目录vc6.0chapter7inWMVC.EXE为本系统的可执行文件。WORD.TXT和ZI.TXT是系统运行所必需的两个文件。 2、 光盘目录vc6.0chapter7SETUP.EXE是本系统的安装程序。 3、 光盘目录vc6.0chapter7srcWMVC*.*为本系统的VC源程序。 “五笔编码速查系统”如何编译: 直接点击编译完成对整个项目的编译。 “五笔编码速查系统”如何部署: 1、 修改更新Web服务器地址和端口 配置检查版本的Web服务器地址,在本例中缺省 使用的是本机,所以在WMSheet.cpp中162行的调用为:httpClient.GET("localhost", "80", "/version.asp", "") 如果自己的机器与配置的情况不符合,要根据具体情况进行设置。 2、 下载安装文件的配置 推荐测试时使用自己本地的机器,即localhost,使用21端口。把安装文件 setup.exe部署到 ftproot,setup.exe在vc6.0setup目录下。-"Wubi coding Check System" implementation : a CD-ROM directory vc6.0 chapter7 bin WMVC.EXE-based system of the executable. WORD.TXT and ZI.TXT system is necessary for the functioning of the two documents. 2, CD-ROM directory vc6.0 chapter7 SETUP.EXE is the system setup program. 3, CD-ROM directory vc6.0 chapter7 src WMVC *.*-based system of VC source. "Wubi coding Check System," how to build : direct hits compiler of the entire project completed compiler. "Wubi coding Check System,"
    2022-07-10 21:46:01下载
    积分:1
  • This program plots 3 trigometric graphs namely sin, cos and tan.
    这个程序绘制3个三角图,即sin、cos和tan。
    2023-01-08 18:20:04下载
    积分:1
  • 不使用 OLE 直接拖放 ListBox Items
    不使用 OLE 直接拖放 ListBox Items-Drag and Drop Listbox Items Without OLE
    2022-04-02 01:58:51下载
    积分:1
  • c++习题与解答。pdg格式。中国IT实验室学习
    c++习题与解答。pdg格式。中国IT实验室学习-c++ Exercises with the answer. PDG format. China IT laboratory study
    2022-01-23 10:24:02下载
    积分:1
  • 此为工程图的特征查获程序,可判断出规则特征的类型其它,只为本人所理解!...
    此为工程图的特征查获程序,可判断出规则特征的类型其它,只为本人所理解!-this project to map the characteristics found, may determine the rules of other types, but for my understanding!
    2022-12-24 07:40:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载