##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::tan(std::complex)

From cppreference.com
< cpp‎ | numeric‎ | complex

Defined in header `<complex>` |  |
template< class T > complex<T> tan( const complex<T>& z ); |  |

Computes complex tangent of a complex value `z`.

### [edit] Parameters

z | - | complex value

### [edit] Return value

Complex tangent of `z`.

### [edit] See also

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

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