Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double LogisticCDF(double x, double m, double b); | Logistic cumulative distribution function (CDF). |
| 2 | void LogisticCDF(TDenseMtxVec *X, double m, double b, TDenseMtxVec *Res); | Logistic CDF (vectorized). |
Overload 1: double LogisticCDF(double x, double m, double b);
Logistic cumulative distribution function (CDF).
| # | 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 cumulative distribution function (CDF) for value x using the parameters m and b. For b <= 0 the result is NAN.
Remarks:
The result of LogisticCDF is the probability that a single observation from a logistic distribution with parameters m and b falls in the interval (-infinity, x]:
CDF(x| m,b)=1/(1+exp(-(x-m)/b))
Domain: x any real value, m any real value, scale b > 0; the result rises monotonically from 0 to 1. For b <= 0 the result is NAN.
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler
Overload 2: void LogisticCDF(TDenseMtxVec *X, double m, double b, TDenseMtxVec *Res);
Logistic CDF (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 CDF 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