aboutsummaryrefslogtreecommitdiff
path: root/doc/snippets/Cwise_slash_equal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/snippets/Cwise_slash_equal.cpp')
-rw-r--r--doc/snippets/Cwise_slash_equal.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_slash_equal.cpp b/doc/snippets/Cwise_slash_equal.cpp
new file mode 100644
index 000000000..2efd32d84
--- /dev/null
+++ b/doc/snippets/Cwise_slash_equal.cpp
@@ -0,0 +1,3 @@
+Array3d v(3,2,4), w(5,4,2);
+v /= w;
+cout << v << endl;