summaryrefslogtreecommitdiffhomepage
path: root/eigen/doc/snippets/Cwise_boolean_and.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/doc/snippets/Cwise_boolean_and.cpp')
-rw-r--r--eigen/doc/snippets/Cwise_boolean_and.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/eigen/doc/snippets/Cwise_boolean_and.cpp b/eigen/doc/snippets/Cwise_boolean_and.cpp
new file mode 100644
index 0000000..df6b60d
--- /dev/null
+++ b/eigen/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;