[SciPy-dev] The future of the scipy.sandbox and a reminder of upcoming doc-day

Nathan Bell wnbell@gmail....
Thu Jan 24 08:21:53 CST 2008


On Jan 24, 2008 8:02 AM, Robert Cimrman <cimrman3@ntc.zcu.cz> wrote:
> currently, the iterative solvers are defined as, for example:
> bicg(A, b, x0=None, tol=1e-5, maxiter=None, xtype=None, callback=None)
> - the preconditioner is passed in as an attribute of A. This is not too
> transparent, IMHO.
>
> It might be better to use instead
> bicg(A, b, x0=None, tol=1e-5, maxiter=None, xtype=None, callback=None,
> precond = None),
> where both A, precond would be LinearOperator instances. The
> preconditioning would then be performed by precond.matvec/rmatvec.

I agree, that would be better.

-- 
Nathan Bell wnbell@gmail.com
http://graphics.cs.uiuc.edu/~wnbell/


More information about the Scipy-dev mailing list