add operators *= and /=

This commit is contained in:
Benoit Jacob
2007-09-27 19:20:06 +00:00
parent 628b1a8f6d
commit d99d9407df
8 changed files with 70 additions and 11 deletions

View File

@@ -47,6 +47,9 @@ template<typename MatrixType1,
a = eval(a + b);
a += b;
a -= b + b;
a *= s;
b /= s;
if(rows1 == cols1) a *= b;
MatrixType1 d(rows1, cols1);
MatrixType2 e(rows2, cols2);