Searched refs:rhsNorm2 (Results 1 – 2 of 2) sorted by relevance
45 RealScalar rhsNorm2 = rhs.squaredNorm(); in conjugate_gradient() local46 if(rhsNorm2 == 0) in conjugate_gradient()53 RealScalar threshold = tol*tol*rhsNorm2; in conjugate_gradient()58 tol_error = sqrt(residualNorm2 / rhsNorm2); in conjugate_gradient()88 tol_error = sqrt(residualNorm2 / rhsNorm2); in conjugate_gradient()
41 const RealScalar rhsNorm2(rhs.squaredNorm()); in minres()42 if(rhsNorm2 == 0) in minres()53 …const RealScalar threshold2(tol_error*tol_error*rhsNorm2); // convergence threshold (compared to r… in minres()140 tol_error = std::sqrt(residualNorm2 / rhsNorm2); in minres()