Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double RayleighPDF(double x, double b); | Rayleigh probability density function (PDF). |
| 2 | void RayleighPDF(TDenseMtxVec *X, double b, TDenseMtxVec *Res); | Rayleigh distribution PDF (vectorized). |
Overload 1: double RayleighPDF(double x, double b);
Rayleigh probability density function (PDF).
| # | 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 probability density function (PDF) for value x using the parameter b. b must be positive and x >= 0, otherwise the result is NAN.
Remarks:
The Rayleigh probability density function is
PDF(x| b)=x/b^2exp(-x^2/2b^2), x >= 0
Domain: x >= 0 and scale b > 0. 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 RayleighPDF(TDenseMtxVec *X, double b, TDenseMtxVec *Res);
Rayleigh distribution PDF (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 PDF 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