Go to the source code of this file.
◆ main()
Definition at line 6 of file TutorialLinAlgExComputeSolveError.cpp.
11 double relative_error = (
A*
x -
b).norm() /
b.norm();
12 std::cout <<
"The relative error is:\n" << relative_error << std::endl;
Matrix< double, Dynamic, Dynamic > MatrixXd
Dynamic×Dynamic matrix of type double.