Probabilities.RayleighPDF Method

Overload List

#SignatureDescription
1procedure RayleighPDF(const X: TDenseMtxVec; b: Double; const Res: TDenseMtxVec);Rayleigh distribution PDF (vectorized).
2function RayleighPDF(x: Double; b: Double): Double;Rayleigh probability density function (PDF).

Overload 1: procedure RayleighPDF(const X: TDenseMtxVec; b: Double; const Res: TDenseMtxVec);

Rayleigh distribution PDF (vectorized).

#NameDescription
1XDistribution domain, positive real values or zeros.
2bDistribution parameter, positive real value.
3ResAfter 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: function RayleighPDF(x: Double; b: Double): Double;

Rayleigh probability density function (PDF).

#NameDescription
1xFunction domain, positive real value or zero.
2bDistribution 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.

See Also: Probabilities.RayleighCDF, Probabilities.RayleighCDFInv