Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
Miscellaneous
Miscellaneous
complex
exception
functional
iterator
limits
locale
memory
new
numeric
stdexcept
typeinfo
utility
valarray
complex
abs
arg
complex
conj
cos
cosh
exp
imag
log
log10
norm
polar
pow
real
sin
sinh
sqrt
tan
tanh
tan
function template
<complex>
template<class T> complex<T> tan (const complex<T>& x);
Return tangent of complex
Returns the tangent of the complex number
x
.
This overloads
cmath's tan
function.
Parameters
x
Complex value, representing an angle expressed in radians.
Return value
Tangent of
x
.
See also
cos
Return cosine of complex
(function template)
sin
Return sine of complex
(function template)
tanh
Return hyperbolic tangent of complex
(function template)
tan (cmath)
Compute tangent
(function)