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