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

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