Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double UniformCDF(double x, double a, double b); | Uniform cumulative distribution function (CDF). |
| 2 | void UniformCDF(TDenseMtxVec *X, double A, double B, TDenseMtxVec *Res); | Discrete uniform distribution CDF (vectorized). |
Overload 1: double UniformCDF(double x, double a, double b);
Uniform cumulative distribution function (CDF).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | x | double | Distribution domain, real value on closed interval [a,b]. |
| 2 | a | double | Distribution lower bound, real value. |
| 3 | b | double | Distribution upper bound, real value (b > a). |
Returns: 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.
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler
Overload 2: void UniformCDF(TDenseMtxVec *X, double A, double B, TDenseMtxVec *Res);
Discrete uniform distribution CDF (vectorized).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TDenseMtxVec * | Defines distribution domain, real vector or matrix with values on closed interval [A,B]. |
| 2 | A | double | Distribution parameter, real value, defining distribution lower bound. |
| 3 | B | double | Distribution parameter, real value, defining distribution upper bound. |
| 4 | Res | TDenseMtxVec * | After 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. |
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler