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