diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-01-06 17:18:38 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-01-06 17:18:38 +0100 |
commit | 7d3fe69efff24ff41a81f0bbf3bd4b4906612579 (patch) | |
tree | 7063e4f1483ceba7f8569c397e13d8bf3dc0be6a /doc/snippets/Cwise_slash_equal.cpp | |
parent | c11300dbd52accc3724300854ede5df4b09ab2a6 (diff) |
Various documentation updates:
- update the tutorial
- update doc of deprecated cwise function
- update cwise doc snippets
Diffstat (limited to 'doc/snippets/Cwise_slash_equal.cpp')
-rw-r--r-- | doc/snippets/Cwise_slash_equal.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/snippets/Cwise_slash_equal.cpp b/doc/snippets/Cwise_slash_equal.cpp index 10c4f4acc..2efd32d84 100644 --- a/doc/snippets/Cwise_slash_equal.cpp +++ b/doc/snippets/Cwise_slash_equal.cpp @@ -1,4 +1,3 @@ -Vector3d v(3,2,4); -Vector3d w(5,4,2); -v.cwise() /= w; +Array3d v(3,2,4), w(5,4,2); +v /= w; cout << v << endl; |