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