cos function template — Computes cosine
template<typename T> complex<T> cos(const complex<T>& z)
The cos function returns the complex cosine of z.
cos
z
cos function in <cmath>
<cmath>