Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / libs / eigen / doc / snippets / MatrixBase_bottomRows_int.cpp
blob47ca92ec3ccc695ba8bea9ff16536e2f81fdfe12
1 Array44i a = Array44i::Random();
2 cout << "Here is the array a:" << endl << a << endl;
3 cout << "Here is a.bottomRows(2):" << endl;
4 cout << a.bottomRows(2) << endl;
5 a.bottomRows(2).setZero();
6 cout << "Now the array a is:" << endl << a << endl;