[SciPy-user] Invert a sparse matrix

lorenzo bolla lbolla@gmail....
Thu Oct 4 08:46:42 CDT 2007


another hint: to build a sparse matrix use scipy.sparse.lil_matrix (if
possible) and to do multiplications first convert it to csr (or csc) format.
L.


On 10/4/07, Alan G Isaac <aisaac@american.edu> wrote:
>
> On Thu, 4 Oct 2007, Robin apparently wrote:
> > I will have a very large matrix, that must remain sparse
> > to fit in memory, and I need to use it for some basic
> > operations (matrix-vector multiplication by itself and
> > it's inverse).
>
> Are you sure you need an inverse?
> If you are just solving equation systems,
> you usually do not.
>
> Cheers,
> Alan Isaac
>
>
>
> _______________________________________________
> 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/20071004/1c8f9b02/attachment.html 


More information about the SciPy-user mailing list