Statistic 函数
PHP Manual

stats_dens_uniform

(PECL stats >= 1.0.0)

stats_dens_uniformProbability density function of the uniform distribution

说明

float stats_dens_uniform ( float $x , float $a , float $b )

Returns the probability density at x, where the random variable follows the uniform distribution of which the lower bound is a and the upper bound is b.

参数

x

The value at which the probability density is calculated

a

The lower bound of the distribution

b

The upper bound of the distribution

参数

x

The value at which the probability density is calculated

a

The lower bound of the distribution

b

The upper bound of the distribution

返回值

The probability density at x or FALSE for failure.


Statistic 函数
PHP Manual