aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/PartialRedux_minCoeff.cpp
blob: 1256cee5eed1b4d506791b93e5041af44f7faf68 (plain)
1
2
3
Matrix3d m = Matrix3d::Random();
cout << "Here is the matrix m:" << endl << m << endl;
cout << "Here is the minimum of each column:" << endl << m.colwise().minCoeff() << endl;