Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void RayleighPDF(TDenseMtxVec X, Double b, TDenseMtxVec Res) | Rayleigh distribution PDF (vectorized). |
| 2 | Double RayleighPDF(Double x, Double b) | Rayleigh probability density function (PDF). |
Overload 1: void RayleighPDF(TDenseMtxVec X, Double b, TDenseMtxVec Res)
Rayleigh distribution PDF (vectorized).
| # | Name | Description |
|---|---|---|
| 1 | X | Distribution domain, positive real values or zeros. |
| 2 | b | Distribution parameter, positive real value. |
| 3 | Res | 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. |
Result: stored in self (calling object)
Overload 2: Double RayleighPDF(Double x, Double b)
Rayleigh probability density function (PDF).
| # | Name | Description |
|---|---|---|
| 1 | x | Function domain, positive real value or zero. |
| 2 | b | Distribution scale parameter, positive real value. |
Returns: Double - 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.