Lines Matching defs:residual
43 VectorType residual = rhs - mat * x; //initial residual
54 RealScalar residualNorm2 = residual.squaredNorm();
63 p = precond.solve(residual); //initial search direction
66 RealScalar absNew = numext::real(residual.dot(p)); // the square of the absolute value of r scaled by invM
74 residual -= alpha * tmp; // update residue
76 residualNorm2 = residual.squaredNorm();
80 z = precond.solve(residual); // approximately solve for "A z = residual"
83 absNew = numext::real(residual.dot(z)); // update the absolute value of r