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

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

Doc

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