MatrixBase_template_int_start.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.head(2):" << endl << v.head<2>() << endl;
4 v.head<2>().setZero();
5 cout << "Now the vector v is:" << endl << v << endl;
RowVector4i v
v setZero(3)


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:42:54