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

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

Doc

File size: 233 bytes
Line 
1Array44i a = Array44i::Random();
2cout << "Here is the array a:" << endl << a << endl;
3cout << "Here is a.topRows(2):" << endl;
4cout << a.topRows(2) << endl;
5a.topRows(2).setZero();
6cout << "Now the array a is:" << endl << a << endl;
Note: See TracBrowser for help on using the repository browser.