[SciPy-user] help about solver sparse matrix

David Warde-Farley dwf@cs.toronto....
Sat Apr 19 16:04:27 CDT 2008


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20080419/04a55dfc/attachment.html 


More information about the SciPy-user mailing list