XLPack 6.1
Excel VBA Numerical Library Reference Manual
Loading...
Searching...
No Matches

◆ Cbeta()

Function Cbeta ( ZA As  Complex,
ZB As  Complex,
Optional Info As  Long 
)

Beta function B(a, b) (complex argument)

Purpose
This routine computes the complex beta function at a and b.
B(a, b) = Γ(a)Γ(b)/Γ(a + b)
Returns
Complex
Complex beta function B(a, b).
Parameters
[in]ZAArgument a. (re(ZA) > 0)
[in]ZBArgument b. (re(ZB) > 0)
[out]Info(Optional)
= 0: Successful exit.
= -1: The argument ZA had an illegal value. (re(ZA) <= 0)
= -2: The argument ZB had an illegal value. (re(ZB) <= 0)
= 1: Floating point range error.