xref: /aosp_15_r20/external/eigen/doc/snippets/MatrixBase_operatorNorm.cpp (revision bf2c37156dfe67e5dfebd6d394bad8b2ab5804d4)
1 MatrixXd ones = MatrixXd::Ones(3,3);
2 cout << "The operator norm of the 3x3 matrix of ones is "
3      << ones.operatorNorm() << endl;
4