Operations on sparse matrices

pp parul.pandey85 at gmail.com
Mon Apr 19 09:38:03 CEST 2010


I tried csr_matrix.dot(A,N) where A and N are two sparse matrices.
 is it correct for multiplication of two sparse matrices ?
I still do not now how to perform matrix inversion for a  sparse
matrix. Can anyone please help.

Thanks!!

On Apr 19, 12:03 am, pp <parul.pande... at gmail.com> wrote:
> I am currently dealing with sparse matrices and have doubts on whether
> we can use
> 1.) dot (for matrix multiplication) and inv (inverse) operations of
> numpy on sparse matrices of CSR format.
>
> I initially constructed my sparse matrix using COO format and then
> converted it to CSR format now I want to know whether normal inverse
> and matrix multiplications work with sparse csr matrices.
>
> Also can these operations be applied directly to csr matrices
>
> Thanks a lot




More information about the Python-list mailing list