C++ Complex Library - Tanh



Description

It is a hyperbolic tangent of complex and returns the hyperbolic tangent of the complex number x.

Declaration

Following is the declaration for std::tanh.

template<class T> complex<T> tanh (const complex<T>& x);

C++11

	
template<class T> complex<T> tanh (const complex<T>& x);

Parameters

x − It is a complex value.

Return Value

It returns the hyperbolic tangent of the complex number x.

Exceptions

none

complex.htm
Advertisements