LP-311 Remove basic/advanced stabilization tab auto-switch (autotune/txpid lock issues)
[librepilot.git] / ground / gcs / src / libs / eigen / doc / snippets / TopicAliasing_block.cpp
blob03282f4f0e5af52ef8cf391c21a653e662e603c2
1 MatrixXi mat(3,3);
2 mat << 1, 2, 3, 4, 5, 6, 7, 8, 9;
3 cout << "Here is the matrix mat:\n" << mat << endl;
5 // This assignment shows the aliasing problem
6 mat.bottomRightCorner(2,2) = mat.topLeftCorner(2,2);
7 cout << "After the assignment, mat = \n" << mat << endl;