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

◆ cgamma_sub()

void cgamma_sub ( doublecomplex  z,
doublecomplex *  zout 
)

Gamma function Γ(z) (complex argument)

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