[Scipy-tickets] [SciPy] #826: Multiplication of sparse arrays completely wrong

SciPy scipy-tickets@scipy....
Sun Dec 28 03:24:10 CST 2008

#826: Multiplication of sparse arrays completely wrong
 Reporter:  chtito        |        Owner:  wnbell
     Type:  defect        |       Status:  closed
 Priority:  normal        |    Milestone:        
Component:  scipy.sparse  |      Version:        
 Severity:  critical      |   Resolution:  fixed 
 Keywords:                |  
Comment (by chtito):

 Right... but I think it's a bit misleading that just sparse arrays behave
 like numpy.matrix type where the rest of scipy/numpy uses numpy.array

 It would be much more logical to use `dot` for matrix multiplication, and
 `*` for pointwise multiplication, for compatibility with the rest of the
 code. As it is now, arrays and sparse array are ''incompatible'', meaning
 that one has to check which type it is before performing `*` or `dot`.

 Thank you for the very quick answer though!!

Ticket URL: <http://scipy.org/scipy/scipy/ticket/826#comment:2>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list