diff options
Diffstat (limited to 'doc/snippets/Cwise_slash_equal.cpp')
-rw-r--r-- | doc/snippets/Cwise_slash_equal.cpp | 4 |
1 files changed, 4 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..10c4f4acc --- /dev/null +++ b/doc/snippets/Cwise_slash_equal.cpp @@ -0,0 +1,4 @@ +Vector3d v(3,2,4); +Vector3d w(5,4,2); +v.cwise() /= w; +cout << v << endl; |