(lvl, iterations=DEFAULT_NITER, sweep=DEFAULT_SWEEP)
return smoother
Set up Gauss-Seidel.
Set up Gauss-Seidel.
Set up Gauss - Seidel .
def setup_gauss_seidel(lvl, iterations=DEFAULT_NITER, sweep=DEFAULT_SWEEP):
    """Set up Gauss-Seidel."""
    def smoother(A, x, b):
        relaxation.gauss_seidel(A, x, b, iterations=iterations, sweep=sweep)
    return smoother
def setup_gauss_seidel ( lvl , iterations = DEFAULT_NITER , sweep = DEFAULT_SWEEP ) : def smoother ( A , x , b ) : relaxation . gauss_seidel ( A , x , b , iterations = iterations , sweep = sweep ) return smoother