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

3 lines
44 B
C++

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