Share via


acos

acos

template<class T>
    valarray<T> acos(const valarray<T>& x);

The template function returns an object of class valarray<T>, each of whose elements I is the arccosine of x[I].

See the related sample program.