parameters: (A, b, tol)
return_statement: return gmres(A, b, tol=max(tol, min_tol), atol=0)
docstring: gmres with looser termination condition.
docstring_summary: gmres with looser termination condition.
docstring_tokens: gmres with looser termination condition .
function: def gmres_loose(A, b, tol):
      """
      gmres with looser termination condition.
      """
      b = np.asarray(b)
      min_tol = 1000 * np.sqrt(b.size) * np.finfo(b.dtype).eps
      return gmres(A, b, tol=max(tol, min_tol), atol=0)
function_tokens: def gmres_loose ( A , b , tol ) : b = np . asarray ( b ) min_tol = 1000 * np . sqrt ( b . size ) * np . finfo ( b . dtype ) . eps return gmres ( A , b , tol = max ( tol , min_tol ) , atol = 0 )