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

3 lines
77 B
C++

cout << 6 * RowVectorXi::Ones(4) << endl;
cout << VectorXf::Ones(2) << endl;