XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ Ibetaci()

Function Ibetaci ( A As  Double,
B As  Double,
Q As  Double,
Py As  Double,
Optional Info As  Long 
)

Inverse function of x for normalized compliment of incomplete beta function 1 - Ix(a, b)

Purpose
Computes the inverse function of x for normalized compliment of incomplete beta function 1 - Ix(a, b).
Returns
Double
Inverse function of x for normalized compliment of incomplete beta function 1 - Ix(a, b).
Parameters
[in]AArgument a. (A > 0)
[in]BArgument b. (B > 0)
[in]QValue of 1 - Ix(a, b). (0 <= Q <= 1)
[out]Py1 - x is returned. The value returned in Py is free from cancellation errors. Even if Ibetaci returns 1, the value of Py may be non-zero very small value.
[out]Info(Optional) = 0: Successful exit.
= -1: The argument A had an illegal value. (A <= 0)
= -2: The argument B had an illegal value. (B <= 0)
= -3: The argument Q had an illegal value. (Q < 0 or Q > 1)
= 1: Floating point range error.
Reference
boost/math/special_functions