MatrixBase_segment_int_int.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(1, 2):" << endl << v.segment(1, 2) << endl;
00004 v.segment(1, 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