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

◆ Ibetac()

Function Ibetac ( A As  Double,
B As  Double,
X As  Double,
Optional Info As  Long 
)

Normalized compliment of incomplete beta function 1 - Ix(a, b)

Purpose
Computes the normalized compliment of the incomplete beta function 1 - Ix(a, b).
1 - Ix(a, b) = I(1-x)(b, a)
Returns
Double
Normalized compliment of incomplete beta function 1 - Ix(a, b).
Parameters
[in]AArgument a. (A >= 0, but A = B = 0 is not allowed)
[in]BArgument b. (B >= 0, but A = B = 0 is not allowed)
[in]XArgument x. (0 <= X <= 1)
[out]Info(Optional) = 0: Successful exit.
= -1: The argument A had an illegal value. (A < 0, A = B = 0)
= -2: The argument B had an illegal value. (B < 0)
= -3: The argument X had an illegal value. (X < 0 or X > 1)
= 1: Floating point range error.
Reference
boost/math/special_functions