function template
<complex>

std::cos

template<class T> complex<T> cos (const complex<T>& x);
Cosine of complex
Returns the cosine of the complex number x.

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

引數

x
複數值,表示以弧度為單位的角度。

返回值

Cosine of x.

另見