diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-05-31 22:17:34 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-05-31 22:17:34 +0200 |
commit | 35c1158ee376b31a740a538ac1251460102971dd (patch) | |
tree | 93109d172f2250e4b83667a7b33aa333994867cc /doc/snippets/Cwise_boolean_and.cpp | |
parent | b495203310c53e80c240f349af06e359294e297a (diff) |
add boolean || and && operators
Diffstat (limited to 'doc/snippets/Cwise_boolean_and.cpp')
-rw-r--r-- | doc/snippets/Cwise_boolean_and.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_boolean_and.cpp b/doc/snippets/Cwise_boolean_and.cpp new file mode 100644 index 000000000..081004be4 --- /dev/null +++ b/doc/snippets/Cwise_boolean_and.cpp @@ -0,0 +1,2 @@ +Array3d v(-1,2,1), w(-3,2,3); +cout << (v<w) && (v>0) << endl; |