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] | z | Argument 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