Files
eigen/doc/snippets/MatrixBase_ones_int.cpp
T

3 lines
77 B
C++

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