搜索资源列表
C++数值计算-随机数-舍选法-Γ分布、泊松分布和二项式分布随机数
- C++ 代码 数值计算-随机数-舍选法-Γ分布、泊松分布和二项式分布随机数
randn.rar
- Visual C++写的,用于生成服从高斯分布的伪随机数的代码,没有位宽为4的限制。,to generate Gaussian random numbers
zigurat_demo2
- 一个随机数生成类,值得下载--An random class,recommend
random-inc
- 用c语言编写的产生正态随机数的源代码: 算法一产生12个(0,1)平均分布的随机函数,用大数定理可以模拟出正态分布。 算法二用到了数学中的雅可比变换,直接生成正态分布,但此算法在计算很大规模的数时 会出现溢出错误。-With the c language normal random number generation source code: Algorithm 1 produces 12 (0,1) the average distribution of the rand
localRand
- 常用随机数发生器,C实现 /* * 文件包含了6个函数,它们能产生符合相应分布的规律的随机数: * GenUniformRnd : 产生一个随机数,符合均匀分布。(伪随机序列) * GenBernoulliRnd : 产生一个随机数,符合伯努利分布。 * GenBinomialRnd : 产生一个随机数,符合二项分布。 * GenPoissonRnd : 产生一个随机数,符合泊松分布。 * GenExponentRnd : 产生一个随机数,符合指数分布。
51
- 根据mcs-51单片机用c语言产生随机数代码。-MCU with 51 random numbers generated code.
distribution
- 产生均匀分布、正态分布、瑞利分布、泊松分布这几种分布的随机数,包括实现各部分的子函数和主函数-Produce uniform distribution, normal distribution, Rayleigh distribution, Poisson distribution random number distribution of these types, including the realization of the various parts of the Functions a
md5加密c++实现
- MD5加密调用: CMd5 md5; md5.MDString(要加密的数据(密码和随机数),长度,加密结果;
general-random-number-in-C-Sharp
- 在C#中,产生一般随机数用Random即可,但是,若要产生服从特定分布的随机数,就需要一定的算法来支持了,产生服从正态分布、泊松分布、指数分布以及负指数分布随机数的方法-A general random number in C#, you can use Random, but to have to obey a particular distribution of random numbers, you need a certain algorithm to support, resultin
Kmeans
- 标准C++/C处理BMP图像,没有使用VC中的BITMAP类及任何不在ANSI-C中的结构和函数。采用了k_means压缩算法处理24bit(可以更改源码使之支持8-bit,16-bit和灰度bmp)源码注释详细,其中对BMP文件BMPHEADINFO的处理比较有趣。 new.cpp---->主要的程序代码 *.h----->一个产生U(0,1)随机数的发生器,相合度较小,DES函数产生。-Standard C++/C handle BMP images, do not us
random
- 这是一个产生范围在(-255,255)随机数的C函数,其中范围可有自己确定,结果生成一个数据文件,可被其他C程序作为头文件引用,在需要大量测试数据的时候特别有用-This is a have a range of (-255,255) random number of C functions, the scope of which may have their own identification, the results generate a data file may be other pr
randon_number
- 本程序是用C语言编的一个随机数产生器,可用于需要产生特定随机数的场合参考-This procedure is made using C language of a random number generator can be used for a specific need to generate random number of occasions reference
rand_Num
- vc++实现随机数生成算法
1641010123_898604759
- 生成均匀分布伪随机数的c程序代码,用来生成gauss随即数-Generate uniformly distributed pseudo-random number in c programming code, used to generate the number of Gauss immediately
C++
- 包括各种插值方法、基本图形操作、极值问题求解、随机数的产生等多种功能算法源代码-Include a variety of interpolation methods, and basic graphics operation, extremum problem solving, random number generation algorithm for multiple functions of the source code
Random
- 标准C实现,根据线形同余法的随机数生成器-Standard C implementation, according to wire more than the law is tantamount to random number generator
random1
- 随机数均匀分布 正态分布 可产生均匀分布和正态分布的随机数 速度快 运行流畅 代码简练 -Uniformly distributed random numbers can generate random numbers uniformly distributed smooth fast running code brevity
SUIJISHU
- 用c语言中的rand()产生0到1之间的均匀随机数-C language used rand () have a 0-1 uniform random number between
Algorithms
- 提供了多项式计算、矩阵计算、随机数产生、插值、拟合、方程组求解等一些数值计算算法,并附有查找、排序算法。在对这些算法进行讲解的同时,附上所有算法的C源码,方便进行动手尝试学习。-Provides a polynomial calculation, matrix calculation, random number generation, interpolation, fitting, solving equations and some numerical algorithms, along w
Write-ReadFile
- C++读写文件。Win32程序,产生100个随机数,然后将产生的数存储为10行10列的文件格式,最后从文件中读取这些数并按照原格式显示出来。-The C++ Programming file. It can create 100 numbers and write them to the txt file, in the end read it to print.