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

Parameters

x
Complex value, representing an angle expressed in radians.

Return value

Cosine of x.

See also

sin
Sine of complex (function template)
tan
Tangent of complex (function template)
cosh
Hyperbolic cosine of complex (function template)
cos (cmath)
Compute cosine (function)

AltStyle によって変換されたページ (->オリジナル) /