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

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

Doc

File size: 230 bytes
Line 
1RowVector4i v = RowVector4i::Random();
2cout << "Here is the vector v:" << endl << v << endl;
3cout << "Here is v.tail(2):" << endl << v.tail<2>() << endl;
4v.tail<2>().setZero();
5cout << "Now the vector v is:" << endl << v << endl;
Note: See TracBrowser for help on using the repository browser.