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

◆ clgamma()

doublecomplex clgamma ( doublecomplex  z)

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

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