blob: 0cd424a94e76fbbd3729f04d659881e8592964aa (
plain)
1
2
3
4
5
|
RowVector4i v = RowVector4i::random();
cout << "Here is the vector v:" << endl << v << endl;
cout << "Here is v.start(2):" << endl << v.start<2>() << endl;
v.start<2>().setZero();
cout << "Now the vector v is:" << endl << v << endl;
|