Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure ExpPDF(const X: TDenseMtxVec; Mu: Double; const Res: TDenseMtxVec); | Exponential PDF (vectorized). |
| 2 | function ExpPDF(x: Double; Mu: Double): Double; | Exponential probability density function (PDF). |
Overload 1: procedure ExpPDF(const X: TDenseMtxVec; Mu: Double; const Res: TDenseMtxVec);
Exponential PDF (vectorized).
| # | Name | Description |
|---|---|---|
| 1 | X | Defines distribution domain, real vector or matrix with positive values or zero. |
| 2 | Mu | Defines distribution rate parameter. Mu must be a positive scalar. |
| 3 | Res | After calculation stores the PDF calculated from X and Mu. 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 ExpPDF(x: Double; Mu: Double): Double;
Exponential probability density function (PDF).
| # | Name | Description |
|---|---|---|
| 1 | x | Function domain, real value >= 0. |
| 2 | Mu | Scale parameter (= the distribution mean), real value > 0. |
Returns: Double - the exponential probability density function (PDF) at x for scale (mean) Mu. Returns 0 when Mu <= 0 (NOT NAN).
Remarks:
Computes the exponential PDF
PDF(x|mu)= 1/muexp (-x/mu)
where mu (Mu) is the scale, equal to the mean (the reciprocal of the rate). Domain: x >= 0, mu > 0. Behaviour: for mu <= 0 the result is 0 (not NAN); note the implementation special-cases x=0, returning 1.0 there. A scalar form (this one) and a vectorized TDenseMtxVec overload are provided.
See Also: Probabilities.ExpCDF, Probabilities.ExpCDFInv