MatrixBase_template_int_int_topRightCorner.cpp revision c981c48f5bc9aefeffc0bcb0cc3934c2fae179dd
1Matrix4i m = Matrix4i::Random(); 2cout << "Here is the matrix m:" << endl << m << endl; 3cout << "Here is m.topRightCorner<2,2>():" << endl; 4cout << m.topRightCorner<2,2>() << endl; 5m.topRightCorner<2,2>().setZero(); 6cout << "Now the matrix m is:" << endl << m << endl; 7