|
|
◆ 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] | z | Argument z. (z != 0 and z != negative integer) |
| [out] | zout | Gamma 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
|