XLPack 6.1
C/C++ API Reference Manual
Loading...
Searching...
No Matches

◆ _cbeta_sub()

void _cbeta_sub ( double _Complex  a,
double _Complex  b,
double _Complex *  zout 
)

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

Purpose
cbeta_sub computes the complex beta function at a and b.
B(a, b) = Γ(a)Γ(b)/Γ(a + b)
cbeta_sub is the subroutine version of cbeta.
Parameters
[in]aArgument a. (re(a) > 0)
[in]bArgument b. (re(b) > 0)
[out]zoutComplex beta function B(a, b).
Error handling
  • If re(a) <= 0 or re(b) <= 0, domain error (EDOM) occurs.
  • Range error (ERANGE) may occur.