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

3 lines
75 B
C++

cout << Matrix2d::Ones() << endl;
cout << 6 * RowVector4i::Ones() << endl;