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
- sinh
- Hyperbolic sine of complex (function template
)
- cosh
- Hyperbolic cosine of complex (function template
)
- tan
- Tangent of complex (function template
)
- tanh (cmath)
- Compute hyperbolic tangent (function
)