Пример #1
0
 def smoother(A, x, b):
     x[:] = (cgne(A,
                  b,
                  x0=x,
                  tol=tol,
                  maxiter=maxiter,
                  M=M,
                  callback=callback,
                  residuals=residuals)[0]).reshape(x.shape)
Пример #2
0
 def smoother(A, x, b):
     x[:] = (
         cgne(
             A,
             b,
             x0=x,
             tol=tol,
             maxiter=maxiter,
             M=M,
             callback=callback,
             residuals=residuals)[0]).reshape(
         x.shape)