LP-311 Remove basic/advanced stabilization tab auto-switch (autotune/txpid lock issues)
[librepilot.git] / ground / gcs / src / libs / eigen / doc / snippets / MatrixBase_select.cpp
blobae5477f02774d83368ee5540bcb3a1c6e49c0862
1 MatrixXi m(3, 3);
2 m << 1, 2, 3,
3 4, 5, 6,
4 7, 8, 9;
5 m = (m.array() >= 5).select(-m, m);
6 cout << m << endl;