Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
cos
template<class T>
valarray<T> cos(const valarray<T>& x);
The template function returns an object of class valarray<T>, each of whose elements I is the cosine of x[I].
See the related sample program.