[SciPy-dev] scipy.splinalg or bust

Robert Cimrman cimrman3@ntc.zcu...
Thu Jan 31 09:21:58 CST 2008


Nathan Bell wrote:
> I've added LinearOperator and aslinearoperator() to SVN:
> http://projects.scipy.org/scipy/scipy/browser/trunk/scipy/splinalg/interface.py
> 
> aslinearoperator() accepts all of the things that made sense for the
> 'A' parameter of the iterative solvers  (dense matrices, sparse
> matrices, and objects with .shape and .matvec() attributes)

Great! what about allowing the LinearOperator.__init__() to take care of 
the cases that aslinearoperator() takes care of? Or 
LinearOperator.fromany()/fromAny() static/class method?

cheers,
r.



More information about the Scipy-dev mailing list