00001 Matrix4i m = Matrix4i::Random(); 00002 cout << "Here is the matrix m:" << endl << m << endl; 00003 cout << "Here is m.topRightCorner<2,2>():" << endl; 00004 cout << m.topRightCorner<2,2>() << endl; 00005 m.topRightCorner<2,2>().setZero(); 00006 cout << "Now the matrix m is:" << endl << m << endl;