mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Various documentation updates:
- update the tutorial - update doc of deprecated cwise function - update cwise doc snippets
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
MatrixXi m(3, 3);
|
||||
m << 1, 2, 3,
|
||||
4, 5, 6,
|
||||
m << 1, 2, 3,
|
||||
4, 5, 6,
|
||||
7, 8, 9;
|
||||
m = (m.cwise() >= 5).select(-m, m);
|
||||
m = (m.array() >= 5).select(-m, m);
|
||||
cout << m << endl;
|
||||
|
||||
Reference in New Issue
Block a user