eigen/doc/snippets/Cwise_slash_equal.cpp
Benoit Jacob a30b498ab4 add cwise operator *= and /=.
Keir says hi!!
2009-01-11 20:48:56 +00:00

5 lines
73 B
C++

Vector3d v(3,2,4);
Vector3d w(5,4,2);
v.cwise() /= w;
cout << v << endl;