PHP - Manual: stats_dens_uniform
2024-12-26
(PECL stats >= 1.0.0)
stats_dens_uniform — Probability density function of the uniform distribution
$x
, float $a
, float $b
) : float
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
The probability density at x
or FALSE
for failure.
官方地址:https://www.php.net/manual/en/function.stats-dens-uniform.php