Example #1
0
def CG(A,
       b,
       x,
       print_iter=0,
       max_num_iter=1000,
       RTOLERANCE=1e-12,
       ATOLERANCE=1e-24):
    return _solvers.CG(A, b, x, print_iter, max_num_iter, RTOLERANCE,
                       ATOLERANCE)
Example #2
0
def CG(A,
       b,
       x,
       print_iter=0,
       max_num_iter=1000,
       RTOLERANCE=1e-12,
       ATOLERANCE=1e-24):
    r"""CG(Operator A, Vector b, Vector x, int print_iter=0, int max_num_iter=1000, double RTOLERANCE=1e-12, double ATOLERANCE=1e-24)"""
    return _solvers.CG(A, b, x, print_iter, max_num_iter, RTOLERANCE,
                       ATOLERANCE)