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;
6