Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double UniformCDFInv(double p, double a, double b); | Uniform distribution point percent function (PPF). |
| 2 | void UniformCDFInv(TDenseMtxVec *P, double A, double B, TDenseMtxVec *Res); | Uniform distribution PPF (vectorized). |
Overload 1: double UniformCDFInv(double p, double a, double b);
Uniform distribution point percent function (PPF).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | p | double | Probability, real value on closed interval [0,1]. |
| 2 | a | double | Distribution lower bound, real value. |
| 3 | b | double | Distribution upper bound, real value (b > a). |
Returns: the Uniform distribution point percent function (PPF) for probability p using the parameters a and b. a must be smaller than b and p must lie in [0,1], otherwise the result is NAN.
Remarks:
The inverse uniform cumulative distribution function (quantile) is
CDF^(-1)(p| a,b)=a+p (b-a)
Domain: probability p in [0,1], a < b. For p < 0, p > 1, or a >= b the result is NAN.
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler
Overload 2: void UniformCDFInv(TDenseMtxVec *P, double A, double B, TDenseMtxVec *Res);
Uniform distribution PPF (vectorized).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | P | TDenseMtxVec * | Defines distribution probabilities, real vector or matrix with values within closed interval [0,1]. |
| 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 PPF calculated from P, A and B. Length and Complex properties of Res are adjusted automatically to match Length and Complex properties of P. |
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler