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

  • 用c实现的链表操作。可以添加、删除队列元素。并判断添加元素是否为数字。程序中有非常详细的注释。...
    用c实现的链表操作。可以添加、删除队列元素。并判断添加元素是否为数字。程序中有非常详细的注释。-With c realize the operation of the list. Can add, delete queue element. And add elements to determine whether or not to digital. Program has very detailed notes.
    2022-08-07 20:55:39下载
    积分:1
  • 这是一个求网络最小费用最大流问题的一个C++的程序已经经过调试,请放心使用....
    这是一个求网络最小费用最大流问题的一个C++的程序已经经过调试,请放心使用.-This is a minimum cost network for the largest flow of a C procedures after debugging, please rest assured that use.
    2023-01-05 21:45:04下载
    积分:1
  • Replacement system text tools, you can realize the desired functions, the replac...
    替换系统的文本工具,可以实现想要的功能,这个文本替换器,很有用-Replacement system text tools, you can realize the desired functions, the replacement of this text, and very useful
    2022-02-28 16:35:33下载
    积分:1
  • 802.11a Transmitter: A Case Study in Microarchitectural Exploration
    802.11a Transmitter: A Case Study in Microarchitectural Exploration
    2022-03-06 22:17:28下载
    积分:1
  • 访问量突破160万的程序员网络励志故事,博五个月为CSDN十大明星博客,程序员版的《奋斗》。   这本小说并没有太多技术方面的内容,讲述的是作者本人作为一...
    访问量突破160万的程序员网络励志故事,开博五个月为CSDN十大明星博客,程序员版的《奋斗》。   这本小说并没有太多技术方面的内容,讲述的是作者本人作为一名程序员,从学习编程开始,到第一份工作250元工资,再到后来自主创业的成长经历,也许有些内容在你身上都会找到影子。 -1.6 million visits a breakthrough network programmers stories, the Bo Ten CSDN five stars for the blog, programmer of the " struggle." This novel technology is not too much content, the author described himself as a programmer learning programming from the beginning to the first 250 per wage work, and then later experienced the growth of their own businesses, perhaps some of the content who will find in your shadow.
    2022-02-02 12:45:35下载
    积分:1
  • 炫客无刷新聊天室
    应用背景炫客无刷新聊天室,使用ASP + JS(阿贾克斯辅助)实现动态无刷新聊天室,个人版和站长版终身免费本程序完全免费,开源关键技术
    2022-03-09 17:32:51下载
    积分:1
  • dhjuiuyretjkijhfrtklalksjdf;lllsdjfd
    lksjdlkf lskjf lksjd flksjdfowinekjj ljkshfohkjn lkjsldkfj eoiwj lkjslkjd fowjeojflekj oisjdlfjs doejflkje lskdjf sldj
    2022-12-12 20:40:03下载
    积分:1
  • 这是一个通讯录程序,商店名称,地址,电话,电子邮件。它的。
    This is an address book program that stores name, adress, phone, and email. It uses an address book class to implement it. Lots of comments, and easily customizable. It does NOT work w/ borland. It isn t finished, but 95% of it runs. Check back for update
    2022-04-06 23:36:07下载
    积分:1
  • Net-skyChatServer类似网易聊天室
    资源描述 软件名称:Net-skyChatServer类似网易聊天室   软件类型:C源代码     软件大小:38k     软件简介:   Net-Sky ChatServer不同于其他的用PHP,ASP,PERL等脚本语言编写的或其他任何CGI模式的聊天程式,本聊天室程序使用标准C语言开发,独立于任何第三方WEBSERVER而运行,快速,高效,稳定,大容量。程序的设计目标是能在一台普通的PC上同时容纳上万人聊天。经初步测试,完全达标:每个聊天室一道进程,占内存约700K,80人在线时占CPU约0.03% (Pll450)。程序启动即将所有模版一次性载入内存,最大限度减少硬盘的I/O操作(聊天过程没有任何硬盘I/O),最大限度提高性能。这不不并不意味着每次修改配置后要重新启动聊程式,系统提供专门的管理员命令来重载或修改配置,而不须停止或间断服务。(Only For Linux)   |关闭本窗口|
    2022-04-23 18:15:26下载
    积分:1
  • 使用JAVA语言实现下列功能的系统 a) 系统能接受用户输入一个文件名,该文件名对应的文件A可能包含中文,英文字符,换行回车等字符。 b) 系统在确认用户输...
    使用JAVA语言实现下列功能的系统 a) 系统能接受用户输入一个文件名,该文件名对应的文件A可能包含中文,英文字符,换行回车等字符。 b) 系统在确认用户输入的文件A存在后对文件A进行处理,生成另外一个文件B,要求文件B显式包含文件A的所有内容,并且不改变文件A中的已经有的内容。 c) 系统在文件A不存在的情况下,可以发现B中保留的A的内容被修改过。这种修改包括删除/增加A的某行信息,在A的内容中增加/删除/修改某个字符。-use JAVA following a function of the system) system will accept user input a name, the name of the paper document may contain A Chinese and English characters such as newline characters enter. B) System user input in identifying the existence of a document after document A pair of processed produce another document B, B requested documents Explicit document contains all the elements of A and A does not change the document has some content. C) A system in the document did not exist circumstances, it can be found B of A to retain the content has been modified. Such changes include the deletion/A increased to a certain line of information in the contents of A Increase/delete/change certain characters.
    2022-03-22 01:16:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载