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;


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:33:06