eigen/doc/snippets/MatrixBase_ones_int.cpp

3 lines
77 B
C++
Raw Normal View History

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