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

◆ _cgamma()

double _Complex _cgamma ( double _Complex  z)

Gamma function Γ(z) (complex argument)

Purpose
cgamma computes the gamma function at a complex number z.
Returns
Gamma function Γ(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