CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - localRand
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - localRand - List
[
Other
]
localRand
DL : 0
常用随机数发生器,C实现 /* * 文件包含了6个函数,它们能产生符合相应分布的规律的随机数: * GenUniformRnd : 产生一个随机数,符合均匀分布。(伪随机序列) * GenBernoulliRnd : 产生一个随机数,符合伯努利分布。 * GenBinomialRnd : 产生一个随机数,符合二项分布。 * GenPoissonRnd : 产生一个随机数,符合泊松分布。 * GenExponentRnd : 产生一个随机数,符合指数分布。 * GenGaussRnd : 产生一个随机数,符合高斯分布。 */-Common random number generator, C implementation /** file contains six functions, they can produce in line with the corresponding distribution laws of random numbers:* GenUniformRnd: generate a random number, in line with evenly distributed. (Pseudo-random sequence)* GenBernoulliRnd: generate a random number, in line with the Bernoulli distribution.* GenBinomialRnd: generate a random number, in line with binomial distribution.* GenPoissonRnd: generate a random number, in line with Poisson distribution.* GenExponentRnd: generate a random number, in line with exponential distribution.* GenGaussRnd: generate a random number, in line with Gaussian distribution.* /
Date
: 2025-07-16
Size
: 1kb
User
:
lo
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.