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>).

参数

x
复数值,表示以弧度为单位的角度。

返回值

Tangent of x.

另见