PHP.nl

stats_dens_uniform

stats_dens_uniform

Probability density function of the uniform distribution

float **stats_dens_uniform** float $x float $a float $b

Returns the probability density at , where the random variable follows the uniform distribution of which the lower bound is and the upper bound is . x``a``b

xThe value at which the probability density is calculated

aThe lower bound of the distribution

bThe upper bound of the distribution

The probability density at or false for failure. x