Tutorial_commainit_02.cpp
Go to the documentation of this file.
1 int rows=5, cols=5;
3 m << (Matrix3f() << 1, 2, 3, 4, 5, 6, 7, 8, 9).finished(),
4  MatrixXf::Zero(3,cols-3),
5  MatrixXf::Zero(rows-3,3),
6  MatrixXf::Identity(rows-3,cols-3);
7 cout << m;
MatrixXf m(rows, cols)
Matrix< float, 3, 3 > Matrix3f
3×3 matrix of type float.
Definition: Matrix.h:501
Matrix< float, Dynamic, Dynamic > MatrixXf
Dynamic×Dynamic matrix of type float.
Definition: Matrix.h:501