void subtractInPlace(SMat<RT>& A, const SMat<RT>& B) // A -= B { M2_ASSERT(&B.ring() == &A.ring()); M2_ASSERT(B.numRows() == A.numRows()); M2_ASSERT(B.numColumns() == A.numColumns()); A.subtractInPlace(B); }
void subtractInPlace(SMat<RT>& A, const SMat<RT>& B) // A -= B { assert(&B.ring() == &A.ring()); assert(B.numRows() == A.numRows()); assert(B.numColumns() == A.numColumns()); A.subtractInPlace(B); }