MatrixBase_template_int_end.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.tail(2):" << endl << v.tail<2>() << endl;
4 v.tail<2>().setZero();
5 cout << "Now the vector v is:" << endl << v << endl;
v
RowVector4i v
Definition: MatrixBase_template_int_end.cpp:1
setZero
v setZero(3)


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:06