Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double RayleighCDF(double x, double b); | Rayleigh cumulative distribution function (CDF). |
| 2 | void RayleighCDF(TDenseMtxVec *X, double b, TDenseMtxVec *Res); | Rayleigh distribution CDF (vectorized). |
Overload 1: double RayleighCDF(double x, double b);
Rayleigh cumulative distribution function (CDF).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | x | double | Function domain, positive real value or zero. |
| 2 | b | double | Distribution scale parameter, positive real value. |
Returns: the Rayleigh cumulative distribution function (CDF) for value x using the parameter b. x >= 0 and b > 0 are required, otherwise the result is NAN.
Remarks:
The Rayleigh cumulative distribution function is
CDF(x| b)=1-exp(-x^2/2b^2), x >= 0
Domain: x >= 0 and scale b > 0; the result rises monotonically from 0 (at x = 0) to 1. For b <= 0 or x < 0 the result is NAN.
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler
Overload 2: void RayleighCDF(TDenseMtxVec *X, double b, TDenseMtxVec *Res);
Rayleigh distribution CDF (vectorized).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TDenseMtxVec * | Distribution domain, positive real values or zeros. |
| 2 | b | double | Distribution parameter, positive real value. |
| 3 | Res | TDenseMtxVec * | After calculation stores the CDF calculated from X 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