source: pacpussensors/trunk/Vislab/lib3dv/eigen/doc/snippets/tut_matrix_assignment_resizing.cpp@ 136

Last change on this file since 136 was 136, checked in by ldecherf, 7 years ago

Doc

File size: 193 bytes
Line 
1MatrixXf a(2,2);
2std::cout << "a is of size " << a.rows() << "x" << a.cols() << std::endl;
3MatrixXf b(3,3);
4a = b;
5std::cout << "a is now of size " << a.rows() << "x" << a.cols() << std::endl;
Note: See TracBrowser for help on using the repository browser.