blob: aaa54b66873fa1bfe8492243c2ea36e68246cbe7 (
plain)
1
2
3
4
5
|
RowVector4i v = RowVector4i::Random();
cout << "Here is the vector v:" << endl << v << endl;
cout << "Here is v.end(2):" << endl << v.end(2) << endl;
v.end(2).setZero();
cout << "Now the vector v is:" << endl << v << endl;
|