valarray::operator-

valarray<T> operator-();

The member operator returns an object of class valarray<T>, of length size(), each of whose elements I is -(*this)[I].