aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/MatrixBase_operatorNorm.cpp
blob: 355246f0df4ee38bc1725f9f632dec1b12a95082 (plain)
1
2
3
MatrixXd ones = MatrixXd::Ones(3,3);
cout << "The operator norm of the 3x3 matrix of ones is "
     << ones.operatorNorm() << endl;