function template
<complex>

std::tanh

template<class T> complex<T> tanh (const complex<T>& x);
Hyperbolic tangent of complex
Returns the hyperbolic tangent of the complex number x.

This is the complex version of the tanh function (defined in <cmath>).

Parameters

x
Complex value, representing an angle expressed in radians.

Return value

Hyperbolic tangent of x.

See also