stats_dens_laplace

(PECL stats >= 1.0.0)

stats_dens_laplaceProbability density function of the Laplace distribution

Description

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.

Parameters

x

The value at which the probability density is calculated

ave

The location parameter of the distribution

stdev

The shape parameter of the distribution

Return Values

The probability density at x or false for failure.