mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
add operators *= and /=
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user