XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ clbeta()

doublecomplex clbeta ( doublecomplex  a,
doublecomplex  b 
)

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

Purpose
clbeta computes the logarithm of the complex beta function ln(B(a, b)).
B(a, b) = Γ(a)Γ(b)/Γ(a + b)
Note
This is a preliminary version that is not accurate enough.
Returns
Logarithm of the complex beta function ln(B(a, b)).
Parameters
[in]aArgument a. (re(a) > 0)
[in]bArgument b. (re(b) > 0)
Error handling
  • If re(a) <= 0 or re(b) <= 0, domain error (EDOM) occurs.
  • Range error (ERANGE) may occur.