LP-311 Remove basic/advanced stabilization tab auto-switch (autotune/txpid lock issues)
[librepilot.git] / ground / gcs / src / libs / eigen / doc / snippets / MatrixBase_template_int_segment.cpp
blobe448b402241ef41263219bfdda6137e3bc0ecb3b
1 RowVector4i v = RowVector4i::Random();
2 cout << "Here is the vector v:" << endl << v << endl;
3 cout << "Here is v.segment<2>(1):" << endl << v.segment<2>(1) << endl;
4 v.segment<2>(2).setZero();
5 cout << "Now the vector v is:" << endl << v << endl;