Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double UniformDCDF(int x, int N); | Discrete uniform cumulative distribution function (CDF). |
| 2 | void UniformDCDF(TMtxVecInt *X, int N, TDenseMtxVec *Res); | Discrete uniform distribution CDF (vectorized). |
Overload 1: double UniformDCDF(int x, int N);
Discrete uniform cumulative distribution function (CDF).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | x | int | Function domain, integer. |
| 2 | N | int | Upper bound of the support; N must be a positive integer (N>=1). |
Returns: 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.
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler
Overload 2: void UniformDCDF(TMtxVecInt *X, int N, TDenseMtxVec *Res);
Discrete uniform distribution CDF (vectorized).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVecInt * | Defines distribution domain, vector or matrix with integer values on closed interval [1,N]. |
| 2 | N | int | Distribution parameter, positive integer. |
| 3 | Res | TDenseMtxVec * | 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. |
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler