[Numpy-discussion] Sparse matrices in NumPy?

Paul Gettings gettings at mines.utah.edu
Mon Jun 5 13:08:37 EDT 2000


> But memory is so cheap these days! ;-)
I am a grad student, and have no money. :(

>  > However, the matrix is empty except for the main diagonal. 
> Multiplying by a diagonalized matrix is just vectorized multiplication:
> a 0 0 
> 0 b 0   .  <x, y, z> = <az, by, cz>
> 0 0 c
My mistake - I need to multiply the 7731x7731 by a 7731x220 element matrix -
square matrix times rectangular matrix, not just 2 diagonal matrices.
Otherwise, the problem wouldn't be so hard. :)

--
  That which does not kill you, didn't try hard enough.





More information about the NumPy-Discussion mailing list