Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / libs / eigen / doc / snippets / tut_matrix_assignment_resizing.cpp
blobcf189983fb5fcb30bed3e1285377e35c9689ae69
1 MatrixXf a(2,2);
2 std::cout << "a is of size " << a.rows() << "x" << a.cols() << std::endl;
3 MatrixXf b(3,3);
4 a = b;
5 std::cout << "a is now of size " << a.rows() << "x" << a.cols() << std::endl;