TopicAliasing_block.cpp
Go to the documentation of this file.
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;
4 
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;
Eigen
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
mat
MatrixXi mat(3, 3)


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:14