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_product.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_product.cpp')
-rw-r--r-- | doc/snippets/Cwise_product.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/snippets/Cwise_product.cpp b/doc/snippets/Cwise_product.cpp index 460ed6700..714d66d21 100644 --- a/doc/snippets/Cwise_product.cpp +++ b/doc/snippets/Cwise_product.cpp @@ -1,4 +1,4 @@ -Matrix3i a = Matrix3i::Random(), b = Matrix3i::Random(); -Matrix3i c = a.cwise() * b; +Array33i a = Array33i::Random(), b = Array33i::Random(); +Array33i c = a * b; cout << "a:\n" << a << "\nb:\n" << b << "\nc:\n" << c << endl; |