mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-07 18:27:40 +08:00
3 lines
55 B
C++
3 lines
55 B
C++
|
Vector3d v(2,3,4);
|
||
|
cout << v.cwise().square() << endl;
|