Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
Miscellaneous
Miscellaneous
complex
exception
functional
iterator
limits
locale
memory
new
numeric
stdexcept
typeinfo
utility
valarray
complex
abs
arg
complex
conj
cos
cosh
exp
imag
log
log10
norm
polar
pow
real
sin
sinh
sqrt
tan
tanh
cos
function template
<complex>
template<class T> complex<T> cos (const complex<T>& x);
Return cosine of complex
Returns the cosine of the complex number
x
.
This overloads
cmath's cos
function.
Parameters
x
Complex value, representing an angle expressed in radians.
Return value
Cosine of
x
.
See also
sin
Return sine of complex
(function template)
tan
Return tangent of complex
(function template)
cosh
Return hyperbolic cosine of complex
(function template)
cos (cmath)
Compute cosine
(function)