Probabilities::LogWeibullPDF Function

Overload List

#SignatureDescription
1double LogWeibullPDF(double x, double a, double b);Log-Weibull probability density function (PDF).
2void LogWeibullPDF(TDenseMtxVec *X, double a, double b, TDenseMtxVec *Res);Log-Weibull PDF (vectorized).

Overload 1: double LogWeibullPDF(double x, double a, double b);

Log-Weibull probability density function (PDF).

#NameTypeDescription
1xdoubleFunction domain, real value.
2adoubleDistribution location parameter, real value.
3bdoubleDistribution scale parameter, real positive value.

Returns: the log-Weibull (Extreme value / Fisher-Tippett) probability density function (PDF) for value x using the parameters a and b. For b = 0 the result is NAN.

Remarks:

The log-Weibull probability density function is

PDF(x| a,b)=1/bexp[(a-x)/b-exp((a-x)/b)]

This is identical to the maximum Gumbel density with location a and scale b. Domain: x any real value, location a any real value, scale b > 0. For b = 0 the result is NAN.

See Also: Probabilities::LogWeibullCDF, Probabilities::LogWeibullCDFInv
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler

Overload 2: void LogWeibullPDF(TDenseMtxVec *X, double a, double b, TDenseMtxVec *Res);

Log-Weibull PDF (vectorized).

#NameTypeDescription
1XTDenseMtxVec *Defines distribution domain, real vector or matrix with real values.
2adoubleDistribution location parameter, real positive value.
3bdoubleDistribution scale parameter, real positive value.
4ResTDenseMtxVec *After calculation stores the PDF calculated from X, a 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