Benoit Jacob | 9466e5f | 2008-08-19 04:30:28 +0000 | [diff] [blame] | 1 | Matrix3d m = Matrix3d::Random(); |
2 | cout << "Here is the matrix m:" << endl << m << endl; | ||||
Gael Guennebaud | 7ea821d | 2008-08-28 21:44:56 +0000 | [diff] [blame] | 3 | cout << "Here is the maximum of each column:" << endl << m.colwise().maxCoeff() << endl; |