[SciPy-user] csr_matrix

Sam frizou excellent.frizou at gmail.com
Wed Nov 1 11:27:30 EST 2006


I tryed using these dok_matrix, which seems ok for me.
but, it appears that m*n returns a crc_matrix which I cannot convert
into a dok_matrix. Am I right ?


On 11/1/06, Robert Cimrman <cimrman3 at ntc.zcu.cz> wrote:
> Sam frizou wrote:
> > Thank you Robert.
> >
> > In fact, I need to do row and columns basic operations on my matrices
> > (switch 2 rows, switch 2 cols, add a row with another into the matrix
> > (eg. m[1,:]=m[1,:]+m[3,:]), and same things for columns.
> >
> > Moreover I do not need that my program is extremly fast. In fact my
> > matrices are vrey sparse and classical matrix simply do not fit into
> > the memory.
> >
> > So, if I well understand what you told me. I would better use DOK matrices ?
>
> For those kinds of operations, yes.
>
> cheers,
> r.
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>


-- 
On obtient beaucoup plus avec un mot gentil et une arme qu'avec
seulement un mot gentil - "Al Capone".



More information about the SciPy-User mailing list