|
|
◆ cdigamma_sub()
| void cdigamma_sub |
( |
doublecomplex |
z, |
|
|
doublecomplex * |
zout |
|
) |
| |
Digamma (or psi) function ψ(z) (complex argument)
- Purpose
- cdigamma computes the digamma (or psi) function at a complex number z, where z is not 0, -1, -2, ...
ψ(z) = d/dz ln(Γ(z)) = Γ'(z)/Γ(z)
cdigamma_sub is the subroutine version of cdigamma.
- Parameters
-
| [in] | z | Argument z. (z != negative integer, z != 0) |
| [out] | zout | Digamma (or psi) function ψ(z). |
- Error handling
- If z is zero or real negative integer, NaN + NaN*I is returned and domain error (EDOM) occurs.
- Range error (ERANGE) may occur.
|