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

  • 如何用ffmpeg编写一个简单播放器详细步骤介绍及源码
    如何用ffmpeg编写一个简单播放器详细步骤介绍及源码,压缩包内含有详细文档介绍以及源代码,好资源。
    2023-04-10 05:30:03下载
    积分:1
  • 一款小游戏,可以用来联机玩坦克,大家下着试试看吧
    一款小游戏,可以用来联机玩坦克,大家下着试试看吧-one small game can be used to play on-line tanks, everyone is under Give it a try
    2022-02-04 00:52:59下载
    积分:1
  • vc commonly used data format conversion, such as wchar_t, char*, CString, int, e...
    vc中常用数据格式转换,如wchar_t,char*,CString,int等。-vc commonly used data format conversion, such as wchar_t, char*, CString, int, etc..
    2023-01-12 13:25:03下载
    积分:1
  • roternocvhdl
    版权所有2012 Rasmus Bo Soerensen;,
    2022-05-22 01:44:13下载
    积分:1
  • 迷宫的小程序,是利用数组的算法
    迷宫的小程序,是利用数组的算法-small maze procedure is the use of an array algorithms
    2022-03-29 21:22:58下载
    积分:1
  • xp下资源文件实现xp效果界面,剩去到处找 以及VB示例
    xp下资源文件实现xp效果界面,剩去到处找 以及VB示例-xp resources under Realize xp interface effect, the residual everywhere to find examples of VB
    2022-02-07 03:29:46下载
    积分:1
  • 编辑器,源代码 一个简单的计算器 E统天下
    编辑器,源代码 一个简单的计算器 E统天下--织网梦 ...背景不同。Java是基于C++、面向计算机程序 设计...代替。 (2)JavaScript 源代码无须编译 嵌入HTML...则与之不同。Java的源代码必须进行编译,成为 存在...中的一部分,以一般的文本编辑器就可以连同HTML一... www.51foru.com/index008jsjc.htm 19K 2003-12-10 - 百度快照 C Java PHP Perl Python的程序代码美化工具使用 ...php) 一个速度很快的C/C++/Java源代码美化工具。 astyle比indent好在 有很多成套的的风格定义:ansi ...SLICKEDIT这种大型商业文本编辑器等。 解决:对于...==>网页选项==>HTML源代码选单里选择“使用下面... www.chedong.com/tech/indent_tools.html 14K 2005-3-3 - 百度快照 Jedit for Linux Source Code 源代码--eNet软件-editor, source code for a simple calculator E EC world-- Netting dream ... different backgrounds. Java is based on the C-oriented computer programs designed to replace .... (2) do not have JavaScript compiler source code embedded in HTML ... is different. Java source code to be compiled, as exists ... a part of, in general text editor with HTML can be a ... www.51foru.com/index008jsjc.htm 19K 2003-12-10- Baidu snapshot C Java PHP Perl Python the code landscaping tools ... php), a fast C/C/Java source code for landscap
    2022-08-17 17:22:33下载
    积分:1
  • source profiles : recursive query document examples can be specified directory i...
    源码简介:采用递归查询文件的例子,可以查询指定目录下的符合条件的文件,可以搜索文件中的字符串-source profiles : recursive query document examples can be specified directory inquiries eligible documents, document search string
    2022-10-29 13:45:03下载
    积分:1
  • how the animation process shows
    如何在程序中显示动画-how the animation process shows
    2022-06-13 11:26:53下载
    积分:1
  • 栈的应用,它是非
    有关栈的应用,是对于迷宫求解的非递归方法-The application of the stack, which is the non-recursive method of solving the maze
    2022-05-11 01:37:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载