Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure UniformDCDF(const X: TMtxVecInt; N: Integer; const Res: TDenseMtxVec); | Discrete uniform distribution CDF (vectorized). |
| 2 | function UniformDCDF(x: Integer; N: Integer): Double; | Discrete uniform cumulative distribution function (CDF). |
Overload 1: procedure UniformDCDF(const X: TMtxVecInt; N: Integer; const Res: TDenseMtxVec);
Discrete uniform distribution CDF (vectorized).
| # | Name | Description |
|---|---|---|
| 1 | X | Defines distribution domain, vector or matrix with integer values on closed interval [1,N]. |
| 2 | N | Distribution parameter, positive integer. |
| 3 | Res | After calculation stores the CDF calculated from X and N. 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 UniformDCDF(x: Integer; N: Integer): Double;
Discrete uniform cumulative distribution function (CDF).
| # | Name | Description |
|---|---|---|
| 1 | x | Function domain, integer. |
| 2 | N | Upper bound of the support |
| 3 | N must be a positive integer (N>=1). |
Returns: Double - the discrete uniform cumulative distribution function (CDF) at x using parameter N. Returns NAN when N<1.
Remarks:
Computes the discrete uniform CDF P(X <= x) on the support 1,...,N:
CDF(x| N)={ 0, if x<1
{ x/N, if 1 <= x <= N
{ 1, if x>N
Domain: N >= 1. For N<1 the result is NaN.