aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/MatrixBase_colwise.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-01-06 17:18:38 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-01-06 17:18:38 +0100
commit7d3fe69efff24ff41a81f0bbf3bd4b4906612579 (patch)
tree7063e4f1483ceba7f8569c397e13d8bf3dc0be6a /doc/snippets/MatrixBase_colwise.cpp
parentc11300dbd52accc3724300854ede5df4b09ab2a6 (diff)
Various documentation updates:
- update the tutorial - update doc of deprecated cwise function - update cwise doc snippets
Diffstat (limited to 'doc/snippets/MatrixBase_colwise.cpp')
-rw-r--r--doc/snippets/MatrixBase_colwise.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/snippets/MatrixBase_colwise.cpp b/doc/snippets/MatrixBase_colwise.cpp
index c8b380cee..a048beffa 100644
--- a/doc/snippets/MatrixBase_colwise.cpp
+++ b/doc/snippets/MatrixBase_colwise.cpp
@@ -2,4 +2,4 @@ Matrix3d m = Matrix3d::Random();
cout << "Here is the matrix m:" << endl << m << endl;
cout << "Here is the sum of each column:" << endl << m.colwise().sum() << endl;
cout << "Here is the maximum absolute value of each column:"
- << endl << m.cwise().abs().colwise().maxCoeff() << endl;
+ << endl << m.cwiseAbs().colwise().maxCoeff() << endl;