mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-07 18:27:40 +08:00
5 lines
73 B
C++
5 lines
73 B
C++
Vector3d v(1,2,3);
|
|
Vector3d w(2,3,0);
|
|
v.cwise() *= w;
|
|
cout << v << endl;
|