template<class T> valarray<T> log10(const valarray<T>& x);
The template function returns an object of class valarray<T>, each of whose elements I is the base-10 logarithm of x[I].
valarray
<T>
I
x[I]
See the related sample program.