source:
pacpussensors/trunk/Vislab/lib3dv-1.2.0/lib3dv/eigen/doc/snippets/MatrixBase_end_int.cpp@
136
Last change on this file since 136 was 136, checked in by , 7 years ago | |
---|---|
File size: 226 bytes |
Line | |
---|---|
1 | RowVector4i v = RowVector4i::Random(); |
2 | cout << "Here is the vector v:" << endl << v << endl; |
3 | cout << "Here is v.tail(2):" << endl << v.tail(2) << endl; |
4 | v.tail(2).setZero(); |
5 | cout << "Now the vector v is:" << endl << v << endl; |
Note:
See TracBrowser
for help on using the repository browser.