commit | 7d3fe69efff24ff41a81f0bbf3bd4b4906612579 | [log] [tgz] |
---|---|---|
author | Gael Guennebaud <g.gael@free.fr> | Wed Jan 06 17:18:38 2010 +0100 |
committer | Gael Guennebaud <g.gael@free.fr> | Wed Jan 06 17:18:38 2010 +0100 |
tree | 7063e4f1483ceba7f8569c397e13d8bf3dc0be6a | |
parent | c11300dbd52accc3724300854ede5df4b09ab2a6 [diff] [blame] |
Various documentation updates: - update the tutorial - update doc of deprecated cwise function - update cwise doc snippets
diff --git a/doc/snippets/MatrixBase_noalias.cpp b/doc/snippets/MatrixBase_noalias.cpp new file mode 100644 index 0000000..3b54a79 --- /dev/null +++ b/doc/snippets/MatrixBase_noalias.cpp
@@ -0,0 +1,3 @@ +Matrix2d a, b, c; a << 1,2,3,4; b << 5,6,7,8; +c.noalias() = a * b; // this computes the product directly to c +cout << c << endl;