The method Subtract calculates the difference of the two vectors self and Othervec. The result is written back to self (self := self - OtherVec). If the dimensions of the two vectors do not match, an exception is generated ('vectors have different dimensions').