7 std::cout <<
mat1 << std::endl << std::endl;
10 mat2.topLeftCorner(
size/2,
size/2).setZero();
11 mat2.topRightCorner(
size/2,
size/2).setIdentity();
12 mat2.bottomLeftCorner(
size/2,
size/2).setIdentity();
13 mat2.bottomRightCorner(
size/2,
size/2).setZero();
14 std::cout << mat2 << std::endl << std::endl;
19 std::cout << mat3 << std::endl;
MatrixXd mat1(size, size)
Matrix< double, Dynamic, Dynamic > MatrixXd
Dynamic×Dynamic matrix of type double.