(PECL stats >= 1.0.0)
stats_dens_laplace — Probability 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.
xThe value at which the probability density is calculated
aveThe location parameter of the distribution
stdevThe shape parameter of the distribution
The probability density at x or false for failure.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.stats-dens-laplace.php