Click or drag to resize

SpecialFunctionsMarcumQ(Double, Double, Double, Int32) Method

Returns the Marcum Q-function Q[ν](a,b). Marcum Q-function (Wikipedia)

References: A. Gil, J. Segura and N.M. Temme. Efficient and accurate algorithms for the computation and inversion of the incomplete gamma function ratios. SIAM J Sci Comput. (2012) 34(6), A2965-A2981


Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double MarcumQ(
	double nu,
	double a,
	double b,
	out int err
)

Parameters

nu  Double
The order of generalized Marcum Q-function. Range: 1≦ν≦10000
a  Double
The value to compute the Marcum Q-function of. Range: 0≦a≦10000
b  Double
The value to compute the Marcum Q-function of. Range: 0≦b≦10000
err  Int32
Error flag

0: Computation succesful.

1: Underflow problems. The function value is set to one.

2: Any of the arguments of the function is out of range.The function value is set to zero.

Return Value

Double
The Marcum Q-function Q[ν](a,b)
See Also