eigen/doc/snippets/MatrixBase_ones_int.cpp
2008-01-03 19:36:32 +00:00

3 lines
77 B
C++

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