source:
pacpussensors/trunk/Vislab/lib3dv-1.2.0/lib3dv/eigen/doc/snippets/MatrixBase_leftCols_int.cpp@
142
Last change on this file since 142 was 136, checked in by , 8 years ago | |
---|---|
File size: 236 bytes |
Line | |
---|---|
1 | Array44i a = Array44i::Random(); |
2 | cout << "Here is the array a:" << endl << a << endl; |
3 | cout << "Here is a.leftCols(2):" << endl; |
4 | cout << a.leftCols(2) << endl; |
5 | a.leftCols(2).setZero(); |
6 | cout << "Now the array a is:" << endl << a << endl; |
Note:
See TracBrowser
for help on using the repository browser.