diff options
author | Miao Wang <miaowang@google.com> | 2017-03-08 17:13:58 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-03-08 17:13:58 +0000 |
commit | 7de1f32623fe9b8d80455905f4f23b944bcb5e48 (patch) | |
tree | 0488797fc544fe977bec6418c73445759f052482 /doc/snippets/Cwise_isInf.cpp | |
parent | 2121131a9d270120c1712ffcb9cdb7aeaeb33e3f (diff) | |
parent | 2b8756b6f1de65d3f8bffab45be6c44ceb7411fc (diff) | |
download | eigen-7de1f32623fe9b8d80455905f4f23b944bcb5e48.tar.gz |
Merge "Rebase Eigen to 3.3.3."
Diffstat (limited to 'doc/snippets/Cwise_isInf.cpp')
-rw-r--r-- | doc/snippets/Cwise_isInf.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_isInf.cpp b/doc/snippets/Cwise_isInf.cpp new file mode 100644 index 000000000..be793081c --- /dev/null +++ b/doc/snippets/Cwise_isInf.cpp @@ -0,0 +1,5 @@ +Array3d v(1,2,3); +v(1) *= 0.0/0.0; +v(2) /= 0.0; +cout << v << endl << endl; +cout << isinf(v) << endl; |