diff options
Diffstat (limited to 'eigen/doc/snippets/PartialRedux_count.cpp')
-rw-r--r-- | eigen/doc/snippets/PartialRedux_count.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/eigen/doc/snippets/PartialRedux_count.cpp b/eigen/doc/snippets/PartialRedux_count.cpp deleted file mode 100644 index 1c3b3a2..0000000 --- a/eigen/doc/snippets/PartialRedux_count.cpp +++ /dev/null @@ -1,5 +0,0 @@ -Matrix3d m = Matrix3d::Random(); -cout << "Here is the matrix m:" << endl << m << endl; -Matrix<ptrdiff_t, 3, 1> res = (m.array() >= 0.5).rowwise().count(); -cout << "Here is the count of elements larger or equal than 0.5 of each row:" << endl; -cout << res << endl; |