std::cos(std::complex) - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### 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

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

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/numeric/complex/cos&oldid=70887"