Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double ExpCDF(double x, double Mu); | Exponential cumulative distribution function (CDF). |
| 2 | void ExpCDF(TDenseMtxVec *X, double Mu, TDenseMtxVec *Res); | Exponential CDF (vectorized). |
Overload 1: double ExpCDF(double x, double Mu);
Exponential cumulative distribution function (CDF).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | x | double | Function domain, real value >= 0. |
| 2 | Mu | double | Scale parameter (= the distribution mean), real value > 0. |
Returns: the exponential cumulative distribution function (CDF) at x for scale (mean) Mu. Returns 0 when Mu <= 0 (NOT NAN).
Remarks:
Computes the exponential CDF
CDF(x|mu)=1/mu integral _0 ^x exp (-t/mu) dt = 1-exp (-x/mu)
The result is the probability that an observation falls in , lies in and is monotone non-decreasing. Domain: x >= 0, mu > 0. For mu <= 0 the result is 0 (not NAN).
See Also: Probabilities::ExpPDF, Probabilities::ExpCDFInv
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler
Overload 2: void ExpCDF(TDenseMtxVec *X, double Mu, TDenseMtxVec *Res);
Exponential CDF (vectorized).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TDenseMtxVec * | Defines distribution domain, real vector or matrix with positive values or zero. |
| 2 | Mu | double | Defines distribution rate parameter. Mu must be a positive scalar. |
| 3 | Res | TDenseMtxVec * | After calculation stores the CDF calculated from X and Mu. 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