Searched refs:relative_error (Results 1 – 1 of 1) sorted by relevance
12 double relative_error = (A*x - b).norm() / b.norm(); // norm() is L2 norm in main() local13 cout << "The relative error is:\n" << relative_error << endl; in main()