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

◆ Clnbeta()

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

Logarithm of beta function ln(B(a, b)) (complex argument)

Purpose
This routine computes the logarithm of the complex beta function ln(B(a, b)).
B(a, b) = Γ(a)Γ(b)/Γ(a + b)
Returns
Complex
Logarithm of the complex beta function ln(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.