C++
C#
VB
JScript
All

# operator-=

Copyright (C) 2005 IENT-RWTH Aachen

template<class V ,class G > inline Vector<G > &operator-=(Vector<G > &X, const V &v)
template<class V ,class G > inline Matrix<G > &operator-=(Matrix<G > &X, const V &v)
template<class G1,class G2> inline Vector<G1> &operator-=(Vector<G1> &X, const Vector<G2> &Y)
template<class G1,class G2> inline Matrix<G1> &operator-=(Matrix<G1> &X, const Matrix<G2> &Y)

Minus-Equals Operator

Returns

A reference to the current object.

Remarks

This sets the current object to the difference between the original value of this object and the value on the right.