Namespaces
Variants
Views
Actions

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) [edit]
computes tangent of a complex number (tan(z))
(function template) [edit]
computes arc cosine of a complex number (arccos(z))
(function template) [edit]
computes cosine (cos(x))
(function) [edit]
applies the function std::cos to each element of valarray
(function template) [edit]