Probabilities::MaxwellCDFInv Function

Overload List

#SignatureDescription
1double MaxwellCDFInv(double p, double a);Maxwell distribution point percent function (PPF).
2void MaxwellCDFInv(TDenseMtxVec *P, double a, TDenseMtxVec *Res);Negative binomial distribution PPF (vectorized).

Overload 1: double MaxwellCDFInv(double p, double a);

Maxwell distribution point percent function (PPF).

#NameTypeDescription
1pdoubleProbability, real value on closed interval [0,1].
2adoubleDistribution parameter, positive real value.

Returns: the Maxwell distribution point percent function (PPF) for probability p using the parameter a. a must be positive and p must lie in [0,1], otherwise the result is NAN.

Remarks:

The inverse Maxwell cumulative distribution function (quantile, standard scale a) is

CDF^(-1)(p| a)=a sqrt(2 G^(-1)(p;3/2))

where G^{-1}(p; 3/2) is the inverse of the lower regularized gamma function with shape 3/2. It is the solution x of MaxwellCDF(x | a) = p. Domain: probability p in [0,1], scale a > 0. For p < 0, p > 1, or a <= 0 the result is NAN.

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

Overload 2: void MaxwellCDFInv(TDenseMtxVec *P, double a, TDenseMtxVec *Res);

Negative binomial distribution PPF (vectorized).

#NameTypeDescription
1PTDenseMtxVec *Defines distribution probabilities, real vector or matrix with values within closed interval [0,1].
2adoubleDistribution parameter, positive real value.
3ResTDenseMtxVec *After calculation stores the PPF calculated from P and a. Length and Complex properties of Res are adjusted automatically to match Length and Complex properties of P.
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler