Click or drag to resize
CdfUniform Method
Evaluates the uniform cumulative probability distribution function.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static double Uniform(
	double x,
	double aa,
	double bb
)

Parameters

x
Type: SystemDouble
A double scalar value representing the argument at which the function is to be evaluated.
aa
Type: SystemDouble
A double scalar value representing the location parameter.
bb
Type: SystemDouble
A double scalar value representing the scale parameter.

Return Value

Type: Double
A double scalar value representing the probability that a Uniform random variable takes a value less than or equal to x.
Remarks
Method Cdf.Uniform evaluates the distribution function, F, of a uniform random variable with location parameter aa and scale parameter bb; that is,
f(x)=\left\{\begin{array}{cl}
                0 & \mbox{if}~  x \lt aa \\
                \frac{x-aa}{bb-aa} & \mbox{if}~  aa\le x\le bb \\
                1 &\mbox{if}~  x>bb
                \end{array}\right.

Plot of Uniform Distribution Function

See Also