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