function template
<complex>

std::tan

template<class T> complex<T> tan (const complex<T>& x);
Tangent of complex
Returns the tangent of the complex number x.

This is the complex version of the tan function (defined in <cmath>).

Parameters

x
Complex value, representing an angle expressed in radians.

Return value

Tangent of x.

See also