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;