C++ Complex Library - Tan
Description
It is a tangent of complex and returns the tangent of the complex number x.
Declaration
Following is the declaration for std::tan.
template<class T> complex<T> tan (const complex<T>& x);
C++11
template<class T> complex<T> tan (const complex<T>& x);
Parameters
x − It is a complex value.
Return Value
It returns the tangent of the complex number x.
Exceptions
none
complex.htm
Advertisements