stats_rand_gen_gamma

(PECL stats >= 1.0.0)

stats_rand_gen_gammaGenerates a random deviate from the gamma distribution

说明

stats_rand_gen_gamma ( float $a , float $r ) : float

Generates a random deviate from the gamma distribution whose density is (A**R)/Gamma(R) * X**(R-1) * Exp(-A*X).

参数

a

location parameter of Gamma distribution (a > 0).

r

shape parameter of Gamma distribution (r > 0).

返回值

A random deviate

相关文章
php statistic 函数 calculates any one parameter of the cauchy distribution given values for the othersphp statistic 函数 calculates any one parameter of the gamma distribution given values for the othersphp statistic 函数 probability density function of the gamma distributionphp statistic 函数 probability density function of the weibull distributionphp statistic 函数 generates a random deviate from the beta distributionphp statistic 函数 generates a random deviate from the chi square distributionphp statistic 函数 generates a random deviate from the exponential distributionphp statistic 函数 generates a random deviate from the f distributionphp statistic 函数 generates a random deviate from the gamma distributionphp statistic 函数 generates a random deviate from the negative binomial distributionphp statistic 函数 generates a random deviate from the binomial distributionphp statistic 函数 generates random integer between 1 and 2147483562php statistic 函数 generates a single random deviate from a poisson distributionphp statistic 函数 generates a random deviate from the non central chi square distributionphp statistic 函数 generates a random deviate from the non central chi square distributionphp statistic 函数 generates a random deviate from the noncentral f distributionphp statistic 函数 generates a single random deviate from a non central t distributionphp statistic 函数 generates a single random deviate from a normal distributionphp statistic 函数 generates a single random deviate from a t distributionphp statistic 函数 generates a random floating point number between 0 and 1
关注编程学问公众号