function template

std::tanh

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

This overloads cmath's tanh function.

Parameters

x
Complex value.

Return value

Hyperbolic tangent of x.

See also