function template
std::cos
<complex>
template<class T> complex<T> cos (const complex<T>& x);
Return cosine of complex
Returns the cosine of the complex number
x.
This overloads
cmath's cos function.
Parameters
- x
- Complex value, representing an angle expressed in radians.
Return value
Cosine of
x.
See also
- sin
- Return sine of complex (function template)
- tan
- Return tangent of complex (function template)
- cosh
- Return hyperbolic cosine of complex (function template)
- cos (cmath)
- Compute cosine (function)