atanh
Computes the inverse hyperbolic tangent of a complex number. The inverse hyperbolic tangent is calculated using the formula: atanh(z) = (1/2) * ln((1+z)/(1-z)) where z is the complex number.
Special cases:
For z = i (imaginary unit), atanh(i) = i*π/2
For z = -i (negative imaginary unit), atanh(-i) = -i*π/2
Return
A new instance of Complex representing the inverse hyperbolic tangent of the given complex number.
Parameters
complex
The complex number for which the inverse hyperbolic tangent is calculated.