MatrixBase_template_int_segment.cpp
Go to the documentation of this file.
00001 RowVector4i v = RowVector4i::Random();
00002 cout << "Here is the vector v:" << endl << v << endl;
00003 cout << "Here is v.segment<2>(1):" << endl << v.segment<2>(1) << endl;
00004 v.segment<2>(2).setZero();
00005 cout << "Now the vector v is:" << endl << v << endl;


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:31:57