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

◆ clgamma_sub()

void clgamma_sub ( doublecomplex  z,
doublecomplex *  zout 
)

Logarithm of gamma function ln(Γ(z)) (complex argument)

Purpose
clgamma_sub computes the logarithm of the gamma function at a complex number z.
clgamma_sub is the subroutine version of clgamma.
Parameters
[in]zArgument z. (z != 0 and z != negative integer)
[out]zoutLogarithm of the gamma function ln(Γ(z)).
Error handling
  • If z is zero or real negative integer, domain error (EDOM) is reported.
  • Range error (ERANGE) may occur.
Reference
netlib/cephes