Standard C++ Library Reference ISO/IEC (VERSION3)

The member operator replaces each element I of *this with (*this)[I] << right[I]. It returns
*this.
valarray::operator*=
valarray<Ty>& operator*=(const valarray<Ty>& right);
valarray<Ty>& operator*=(const Ty& right);
The member operator replaces each element I of *this with (*this)[I] * right[I]. It returns
*this.
valarray::operator+
valarray<Ty> operator+() const;
The member operator returns an object of class valarray<Ty>, of length size(), each of whose
elements I is (*this)[I].
valarray::operator+=
valarray<Ty>& operator+=(const valarray<Ty>& right);
valarray<Ty>& operator+=(const Ty& right);
The member operator replaces each element I of *this with (*this)[I] + right[I]. It returns
*this.
valarray::operator-
valarray<Ty> operator-() const;
The member operator returns an object of class valarray<Ty>, of length size(), each of whose
elements I is -(*this)[I].
valarray::operator-=
valarray<Ty>& operator-=(const valarray<Ty>& right);
valarray<Ty>& operator-=(const Ty& right);
The member operator replaces each element I of *this with (*this)[I] - right[I]. It returns
*this.
valarray::operator/=
valarray<Ty>& operator/=(const valarray<Ty>& right);
valarray<Ty>& operator/=(const Ty& right);
The member operator replaces each element I of *this with (*this)[I] / right[I]. It returns
*this.