diff options
author | 2015-06-10 15:52:05 +0200 | |
---|---|---|
committer | 2015-06-10 15:52:05 +0200 | |
commit | 25a98be948095c1487936c45aec0b7717509dac5 (patch) | |
tree | 2d195462c9c55803c1a6b99dec884545e90577b1 /doc/snippets/Cwise_boolean_not.cpp | |
parent | 192bce2795bbfaa0d4e6fdcd270a95d59da82f66 (diff) | |
parent | e5048b5501a4c2cd86fa3f92ad214938eb3f9b3f (diff) |
bug #80: merge with d_hood branch on adding more coefficient-wise unary array functors
Diffstat (limited to 'doc/snippets/Cwise_boolean_not.cpp')
-rw-r--r-- | doc/snippets/Cwise_boolean_not.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_boolean_not.cpp b/doc/snippets/Cwise_boolean_not.cpp new file mode 100644 index 000000000..8b8e6fc95 --- /dev/null +++ b/doc/snippets/Cwise_boolean_not.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 << !isFinite(v) << endl; |