-
procedures have only mean of 0 and variance for a random number to produce the m...
程序只产生均值为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.
- 2022-10-24 11:05:03下载
- 积分:1
-
High
高质量C++编程,林锐博士,关于C++编程中常被忽略的重要内容。-High-quality C++ Programming, Dr. Lin Rui, the C++ Programming in an important aspect often neglected.
- 2022-06-17 00:29:09下载
- 积分:1
-
windows驱动级看门狗源代码
windows驱动级看门狗源代码-the source code of guard dog of windows driver level.
- 2022-08-10 23:31:05下载
- 积分:1
-
a screen
一个基于 BIOS 的屏幕开发的 C 语言源程,有点意思,欢迎大家快乐共享-a screen-based BIOS development of C language source way, a little bit mean, we are happy to share happiness! !
- 2023-06-22 00:25:03下载
- 积分:1
-
vb.net编写的动态连接库,可通过该动态连接库传入传出数据,传出的数据写入指定的文件夹中...
vb.net编写的动态连接库,可通过该动态连接库传入传出数据,传出的数据写入指定的文件夹中-vb.net prepared by the dynamic link library, through the dynamic link library data came out, the reported data into a file folder
- 2022-03-13 07:57:46下载
- 积分:1
-
图片播放的软件,使用VISUAL C
图片播放的软件,使用VISUAL C-pictures broadcast software, the use of Visual C
- 2022-07-08 06:25:46下载
- 积分:1
-
倒车雷达源程序带显示
这个程序比较全面,适合学习及应用。
- 2022-02-02 19:00:41下载
- 积分:1
-
AD9650控制逻辑
AD9650控制逻辑,带阈值判断功能,采用偏移二进制模式,当信号超出一定范围后,经输出高电平标志位,以便信道调整其增益大小。
AD9650控制逻辑,带阈值判断功能,采用偏移二进制模式,当信号超出一定范围后,经输出高电平标志位,以便信道调整其增益大小。
- 2022-04-29 07:11:44下载
- 积分:1
-
本程序用2003.NET做的.介绍了另一种做法.
本程序用2003.NET做的.介绍了另一种做法.-the procedure used in 2003.NET do. On the other approach.
- 2022-01-29 00:03:26下载
- 积分:1
-
COM+编程指南源代码.zip
COM+编程指南源代码.zip-COM programming guide source code. Zip
- 2022-03-01 09:13:44下载
- 积分:1