Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure GeometricCDFInv(const Y: TDenseMtxVec; p: Double; const Res: TDenseMtxVec); | Geometric distribution PPF (vectorized). |
| 2 | function GeometricCDFInv(y: Double; p: Double): Double; | Geometric distribution point percent function (PPF). |
Overload 1: procedure GeometricCDFInv(const Y: TDenseMtxVec; p: Double; const Res: TDenseMtxVec);
Geometric distribution PPF (vectorized).
| # | Name | Description |
|---|---|---|
| 1 | Y | Defines distribution probabilities, real vector or matrix with values within closed interval [0,1]. |
| 2 | p | Defines success probability. p must lie on the [0,1] closed interval. |
| 3 | Res | After calculation stores the PPF calculated from Y and p. Length and Complex properties of Res are adjusted automatically to match Length and Complex properties of Y. |
Result: stored in self (calling object)
Overload 2: function GeometricCDFInv(y: Double; p: Double): Double;
Geometric distribution point percent function (PPF).
| # | Name | Description |
|---|---|---|
| 1 | y | Probability, real positive value on closed interval [0,1]. |
| 2 | p | Defines success probability. p must lie on the [0,1] closed interval. |
Returns: Double - the geometric distribution point percent function (PPF) for probability y by using parameter p (probability). Probability y and parameter p must lie on the interval [0,1], otherwise the result is NAN.
Remarks:
The result of GeometricCDFInv is observing result successes in a row, each with independent success probability p, with probability y.