stats_dens_laplace

(PECL stats >= 1.0.0)

stats_dens_laplaceProbability density function of the Laplace distribution

说明

stats_dens_laplace(float $x, float $ave, float $stdev): float

Returns the probability density at x, where the random variable follows the Laplace distribution of which the location parameter is ave and the scale parameter is stdev.

参数

x

The value at which the probability density is calculated

ave

The location parameter of the distribution

stdev

The shape parameter of the distribution

返回值

The probability density at x or false for failure.