std::cos(std::complex)

From cppreference.com
< cpp‎ | numeric‎ | complex
Defined in header <complex>
template< class T >
complex<T> cos( const complex<T>& z );

Computes complex cosine of a complex value z.

[edit] Parameters

z - complex value

[edit] Return value

Complex cosine of z.

[edit] See also

computes sine of a complex number (sin(z))
(function template)
computes tangent of a complex number (tan(z))
(function template)
computes arc cosine of a complex number (arccos(z))
(function template)
computes cosine (cos(x))
(function)
applies the function std::cos to each element of valarray
(function template)
C documentation for ccos