Files
smart_wasm/Eigen3/doc/snippets/SelfAdjointView_operatorNorm.cpp
2026-06-01 15:55:59 +08:00

4 lines
157 B
C++

MatrixXd ones = MatrixXd::Ones(3,3);
cout << "The operator norm of the 3x3 matrix of ones is "
<< ones.selfadjointView<Lower>().operatorNorm() << endl;