vendor/markbaker/complex/classes/src/functionsatanh.php

Function code for the complex atanh() function

Functions

atanh()

atanh(\Complex\Complex|mixed  $complex) : \Complex\Complex

Returns the inverse hyperbolic tangent of a complex number.

Parameters

\Complex\Complex|mixed $complex

Complex number or a numeric value.

Throws

\Complex\Exception

If argument isn't a valid real or complex number.

Returns

\Complex\Complex

The inverse hyperbolic tangent of the complex argument.