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

  • VC实现精巧界面的程序
    VC实现精巧界面的程序-VC sophisticated interface procedures
    2022-02-15 14:34:38下载
    积分:1
  • WPF 渐变控件
    翻译 maninwest@Codeforge作者:Tanna@CodeProject网络上可以找到渐变控件,但是没有找到可以生成渐变笔刷的控件。这是个根据用户选择生成渐笔刷的控件背景我当时在开发报告工具,使用这个工具用户可以从 SOL 或任何数据源制作报告。我需要在工具中提供给用户可以更改字段背景的工具。我找不到这样的控件,就决定自己做一个。该控件有几个控制。一个是颜色选择器。对于一个特定渐变停止点,用户可以更改颜色。颜色选择器有一个选择器控件,用户可以移动选择颜色。还有个用于渐变的控件。用于可以更改线性格笔刷起始点和结束点。对于径向笔刷,用户可以更改中心点、原点、半径 X 和半径 Y。用户可以删除渐变的停止点或添加停止点。用户可以从组合框中选择笔刷类型使用代码这是个用户控件,可以直接作为用户控件添加到窗口。 
    2022-03-17 19:07:54下载
    积分:1
  • c#写的一个小时钟程序
    c#写的一个小时钟程序-written by a small clock procedures
    2023-09-06 03:50:03下载
    积分:1
  • visa头文件
    作为自动测试系统的重要头文件,在进行数字I/O通信时,需要这一头文件的支持!应用于LabWindows/CVI等NI软件中,方便适用!
    2022-02-24 22:53:57下载
    积分:1
  • Through Object
    通过面向对象的对象-关系映射持久化技术,将一对多以及多对多的数据保存到数据库中并提供查询修改等功能。-Through Object-Oriented Object- Relational Mapping Persistence technology, one-to-many and many-to-many data is saved to the database and to provide features such as query modification.
    2022-10-19 22:30:04下载
    积分:1
  • 文件ST_CW_Ambg定义了模糊函数的表达式,以相对带宽B为参数。 2.文件MyFigure为运行文件,它调用ST_CW_Ambg中定义的函数作图。...
    文件ST_CW_Ambg定义了模糊函数的表达式,以相对带宽B为参数。 2.文件MyFigure为运行文件,它调用ST_CW_Ambg中定义的函数作图。-ST_CW_Ambg document defines the ambiguity function of the expression to the relative bandwidth B for the parameters. 2. MyFigure running document files, it calls ST_CW_Ambg defined mapping function.
    2023-04-25 12:10:03下载
    积分:1
  • EXCEL action class, you can EXCEL file all common operations. 1. Mergers and mod...
    EXCEL操作类,可以对EXCEL文件进行所有常见的操作。1。合并与修改单元格2。打印和预览3。字体格式的修改4。背景的设置5。对齐方式的设置6。背景的设置7。单元格数据类的设置8。其他细节部分详见文件类的说明-EXCEL action class, you can EXCEL file all common operations. 1. Mergers and modify cell 2. Print and preview 3. Font formatting changes to 4. 5 background settings. Alignment settings 6. Background settings 7. The cell data class settings 8. Other details of the part of the detailed description of the file class
    2022-03-24 16:19:28下载
    积分:1
  • 2022-05-20 17:25:12下载
    积分:1
  • 用Delphi编写的对任务栏进行编辑的小程序3
    用Delphi编写的对任务栏进行编辑的小程序3-prepared by the task of editing the column for three small programs
    2022-01-25 19:16:07下载
    积分:1
  • 时间加速工具,一个起始时间,一个结束时间,间隔时间,跳变时间。...
    时间加速工具,一个起始时间,一个结束时间,间隔时间,跳变时间。-Time to speed up the tool, a starting time, an end time, interval time, the time hopping.
    2022-10-08 19:40:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载