3, 4, 5, 6, 7, 8, 9).finished(),//左上角3x3 MatrixXf::Zero(3,cols-3), //右上角3x2 MatrixXf::Zero(rows -3,3), //左下角2x3 MatrixXf::Identity(rows-3,cols-3); //右下角2x2 cout << m << endl; return 0; }