| 49 | } |
| 50 | |
| 51 | bool validSolution(const lhs &A, const rhs &b, const rhs &x) const |
| 52 | { |
| 53 | //return b.isApprox(A*x); |
| 54 | double err = (A*x - b).norm() / b.norm(); |
| 55 | |
| 56 | return (err <= tol); |
| 57 | } |
| 58 | }; |
| 59 | |
| 60 | template<class rhs = DenseVector> |
nothing calls this directly
no outgoing calls
no test coverage detected