valarray::operator-=
valarray::operator-=
valarray<T>& operator-=(const valarray<T>& x);
valarray<T>& operator-=(const T& x);
The member operator replaces each element I
of *this
with (*this)[I] - x[I]
. It returns *this
.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
valarray::operator-=
valarray<T>& operator-=(const valarray<T>& x);
valarray<T>& operator-=(const T& x);
The member operator replaces each element I
of *this
with (*this)[I] - x[I]
. It returns *this
.