在线文档教程
PHP
数学 | Mathematics

stats_dens_uniform

stats_dens_uniform

(PECL stats >= 1.0.0)

stats_dens_uniform — Probability density function of the uniform distribution

Description

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.

Parameters

x

The value at which the probability density is calculated

a

The lower bound of the distribution

b

The upper bound of the distribution

Return Values

The probability density at x or FALSE for failure.

← stats_dens_t

stats_dens_weibull →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.stats-dens-uniform.php