[SciPy-user] help about solver sparse matrix

Jose Lopez lopmart@gmail....
Sat Apr 19 18:04:01 CDT 2008


thanks

but, how to get the number of iterations of the result?

On Sat, Apr 19, 2008 at 2:04 PM, David Warde-Farley <dwf@cs.toronto.edu>
wrote:

> Use scipy.sparse.linalg.cgs , but convert your matrix to csc or csr first.
> On 19-Apr-08, at 5:00 PM, Jose Lopez wrote:
>
> hi
>
>
> the method linalg.cg (conjugate gradient) work with sparse matrix?
>
> where sparse matrix is defined with
> "Matrix=sparse.lil_matrix(((r*c)-1,(r*c)-1),float)"  r =# rows and c=# cols
>
> and  what parameters return the method?, for example at scilab, return
> number iterations etc
>
>
> thanks for your help
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
>
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20080419/d5a37cb0/attachment.html 


More information about the SciPy-user mailing list