MatrixBase_segment_int_int.cpp
Go to the documentation of this file.
1 RowVector4i v = RowVector4i::Random();
2 cout << "Here is the vector v:" << endl << v << endl;
3 cout << "Here is v.segment(1, 2):" << endl << v.segment(1, 2) << endl;
4 v.segment(1, 2).setZero();
5 cout << "Now the vector v is:" << endl << v << endl;
v
RowVector4i v
Definition: MatrixBase_segment_int_int.cpp:1


gtsam
Author(s):
autogenerated on Thu Jun 13 2024 03:03:41