PHP.nl

stats_cdf_uniform

stats_cdf_uniform

Calculates any one parameter of the uniform distribution given values for the others

float **stats_cdf_uniform** float $par1 float $par2 float $par3 int $which

Returns the cumulative distribution function, its inverse, or one of its parameters, of the uniform distribution. The kind of the return value and parameters (, , and ) are determined by . par1``par2``par3``which

The following table lists the return value and parameters by . CDF, x, a, and b denotes cumulative distribution function, the value of the random variable, the lower bound and the higher bound of the uniform distribution, respectively.

which

par1The first parameter

par2The second parameter

par3The third parameter

whichThe flag to determine what to be calculated

Returns CDF, x, a, or b, determined by . which