Probabilities.UniformCDF Method

Overload List

#SignatureDescription
1procedure UniformCDF(const X: TDenseMtxVec; A: Double; B: Double; const Res: TDenseMtxVec);Discrete uniform distribution CDF (vectorized).
2function UniformCDF(x: Double; a: Double; b: Double): Double;Uniform cumulative distribution function (CDF).

Overload 1: procedure UniformCDF(const X: TDenseMtxVec; A: Double; B: Double; const Res: TDenseMtxVec);

Discrete uniform distribution CDF (vectorized).

#NameDescription
1XDefines distribution domain, real vector or matrix with values on closed interval [A,B].
2ADistribution parameter, real value, defining distribution lower bound.
3BDistribution parameter, real value, defining distribution upper bound.
4ResAfter calculation stores the CDF calculated from X, A and B. Length and Complex properties of Res are adjusted automatically to match Length and Complex properties of X.

Result: stored in self (calling object)

Overload 2: function UniformCDF(x: Double; a: Double; b: Double): Double;

Uniform cumulative distribution function (CDF).

#NameDescription
1xDistribution domain, real value on closed interval [a,b].
2aDistribution lower bound, real value.
3bDistribution upper bound, real value (b > a).

Returns: Double - the uniform cumulative distribution function (CDF) for value x using the parameters a and b. a must be smaller than b, otherwise the result is NAN.

Remarks:

The continuous uniform cumulative distribution function is

CDF(x| a,b)=(x-a)/(b-a), a <= x <= b

with the value 0 for x <= a and 1 for x >= b. Domain: a < b. For a >= b the result is NAN.

See Also: Probabilities.UniformPDF, Probabilities.UniformCDFInv