diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-01-06 17:18:38 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-01-06 17:18:38 +0100 |
commit | 7d3fe69efff24ff41a81f0bbf3bd4b4906612579 (patch) | |
tree | 7063e4f1483ceba7f8569c397e13d8bf3dc0be6a /doc/snippets/PartialRedux_count.cpp | |
parent | c11300dbd52accc3724300854ede5df4b09ab2a6 (diff) |
Various documentation updates:
- update the tutorial
- update doc of deprecated cwise function
- update cwise doc snippets
Diffstat (limited to 'doc/snippets/PartialRedux_count.cpp')
-rw-r--r-- | doc/snippets/PartialRedux_count.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/snippets/PartialRedux_count.cpp b/doc/snippets/PartialRedux_count.cpp index 914a5dee3..c7b3097e4 100644 --- a/doc/snippets/PartialRedux_count.cpp +++ b/doc/snippets/PartialRedux_count.cpp @@ -1,3 +1,3 @@ Matrix3d m = Matrix3d::Random(); cout << "Here is the matrix m:" << endl << m << endl; -cout << "Here is the count of elements larger or equal than 0.5 of each row:" << endl << (m.cwise() >= 0.5).rowwise().count() << endl; +cout << "Here is the count of elements larger or equal than 0.5 of each row:" << endl << (m.array() >= 0.5).rowwise().count() << endl; |