Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double LogisticPDF(double x, double m, double b); | Logistic probability density function (PDF). |
| 2 | void LogisticPDF(TDenseMtxVec *X, double m, double b, TDenseMtxVec *Res); | Logistic PDF (vectorized). |
Overload 1: double LogisticPDF(double x, double m, double b);
Logistic probability density function (PDF).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | x | double | Function domain, real value. |
| 2 | m | double | Distribution location parameter, real value. |
| 3 | b | double | Distribution scale parameter, real positive value. |
Returns: the logistic probability density function (PDF) for value x using the parameters m and b. For b <= 0 the result is NAN.
Remarks:
The logistic probability density function is
PDF(x| m,b)=(exp(-(x-m)/b))/(b(1+exp(-(x-m)/b))^2)
Domain: x any real value, location m any real value, scale b > 0. For b <= 0 the result is NAN.
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler
Overload 2: void LogisticPDF(TDenseMtxVec *X, double m, double b, TDenseMtxVec *Res);
Logistic PDF (vectorized).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TDenseMtxVec * | Defines distribution domain, real vector or matrix. |
| 2 | m | double | Distribution location parameter, real value. |
| 3 | b | double | Distribution scale parameter, real positive value. |
| 4 | Res | TDenseMtxVec * | After calculation stores the PDF calculated from X, m 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