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

@@ -45,7 +45,9 @@ template<typename VectorType> void vectorOps(const VectorType& v)
a = eval(s * (b - c));
a += b;
a += b + b;
a -= b + b;
a *= s;
b /= s;
a += eval(a + a);
}