115efc4d597a47e6ba5794d4fd8d561bf6947233cRichard SmithMatrix3d m = Matrix3d::Random(); 2c1c5f27c64dfc3332d53ad30e44d626e4f9afac3Richard Smithcout << "Here is the matrix m:" << endl << m << endl; 3c1c5f27c64dfc3332d53ad30e44d626e4f9afac3Richard Smithcout << "Here is the sum of each column:" << endl << m.colwise().sum() << endl; 4c1c5f27c64dfc3332d53ad30e44d626e4f9afac3Richard Smithcout << "Here is the maximum absolute value of each column:" 5c1c5f27c64dfc3332d53ad30e44d626e4f9afac3Richard Smith << endl << m.cwiseAbs().colwise().maxCoeff() << endl; 6c1c5f27c64dfc3332d53ad30e44d626e4f9afac3Richard Smith