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

  • 停止进程的dll, 一般被安装包程序调用
    停止进程的dll, 一般被安装包程序调用-stop the process dll, generally install procedure call
    2023-03-07 03:15:03下载
    积分:1
  • learning programming aspects WEB
    WEB方面编程学习-learning programming aspects WEB
    2022-07-18 14:30:32下载
    积分:1
  • an example for uninstaller
    an example for uninstaller
    2022-11-16 07:15:03下载
    积分:1
  • C/S架构简单例
    VS2010 编译,简单对VC++ 可以帮助初学者了解代码。 应用程序向导已为您创建了这个 Server 应用程序。此应用程序不仅演示 Microsoft 基础类的基本使用方法,还可作为您编写应用程序的起点。 本文件概要介绍组成 Server 应用程序的每个文件的内容。 Server.vcxproj 这是使用应用程序向导生成的 VC++ 项目的主项目文件。 它包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。
    2022-03-15 23:11:05下载
    积分:1
  • 顺序表的基本运算 (1) 初始化顺序表L (2) 依次采用尾插法插入a,b,c,d,e (3) 输出顺序表L (4) 输出顺序表L长度;...
    顺序表的基本运算 (1) 初始化顺序表L (2) 依次采用尾插法插入a,b,c,d,e (3) 输出顺序表L (4) 输出顺序表L长度; (5) 判断顺序表L是否为空; (6) 判断顺序表L 的第3个元素; (7) 输出元素‘a’的位置; (8) 在第4个元素位置上插入‘f’元素; (9) 输出顺序表L (10) 删除L的第3个元素; (11) 输出顺序表L (12) 释放顺序表L -The order of the table basic operations (1) The initialization sequence table L (2) followed by tail-interpolation method into a, b, c, d, e (3) the output sequence table L (4) the output sequence of Table L length (5) to determine the order of the table is empty L (6) to determine the order of the table L, the first three elements (7) output elements of " a" position (8) in the first four elements in place insert the " f" element (9) the output sequence of Table L (10) to delete the first three elements of L (11) the output sequence of Table L (12) the release of the order form L
    2022-03-19 16:49:15下载
    积分:1
  • 窗口内的带滚动条的窗口控件+源码,可以用来排除界面上控件没地方放的尴尬...
    窗口内的带滚动条的窗口控件+源码,可以用来排除界面上控件没地方放的尴尬 -the window with a rolling window of the Control+ source code can be used to exclude interface controls no place to put the embarrassing
    2022-10-09 11:35:03下载
    积分:1
  • Three Ways to Inject Your Code into Another Proce
    Three Ways to Inject Your Code into Another Proce
    2022-02-26 01:30:46下载
    积分:1
  • firewall software source code types : C source/Network Programming
    防火墙源代码 软件类型: C++源码 / 网络编程-firewall software source code types : C source/Network Programming
    2022-02-01 23:59:15下载
    积分:1
  • this a test because i have nothing to upload. hope u understand.
    this a test because i have nothing to upload. hope u understand.-this is a test because i have nothing to upload. hope u understand.
    2023-02-23 06:35:03下载
    积分:1
  • 用c进行浮点运算的新思路
    用c进行浮点运算的新思路-new thinking of float number caculation in c
    2022-04-21 00:34:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载