You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
RowVector4i v = RowVector4i::Random();
|
|
cout << "Here is the vector v:" << endl << v << endl;
|
|
cout << "Here is v.tail(2):" << endl << v.tail(2) << endl;
|
|
v.tail(2).setZero();
|
|
cout << "Now the vector v is:" << endl << v << endl;
|