reactphysics3d/testbed/nanogui/ext/eigen/doc/snippets/Cwise_square.cpp

3 lines
46 B
C++

Array3d v(2,3,4);
cout << v.square() << endl;