Beispiel #1
0
 def smoother(A, x, b):
     x[:] = (cgnr(A,
                  b,
                  x0=x,
                  tol=tol,
                  maxiter=maxiter,
                  M=M,
                  callback=callback,
                  residuals=residuals)[0]).reshape(x.shape)
Beispiel #2
0
 def smoother(A, x, b):
     x[:] = (
         cgnr(
             A,
             b,
             x0=x,
             tol=tol,
             maxiter=maxiter,
             M=M,
             callback=callback,
             residuals=residuals)[0]).reshape(
         x.shape)