Hi Stefan,

thanks a lot for the pull request!

> I don't know if np.dot is supposed to know anything about sparse
> matrices; if so, then a fancier change may be needed.

Ok, then I'll pass that on to the (sparse) scipy folks.
Are there any alternative to np.dot you are aware of? Is
ndarray.__mul__ supposed to work with sparse matrices? AFAIK scipy
does not provide a scipy.sparse.dot function and spmatrix.dot only
allows for "multiplication from the rhs" (ok.. one could directly call
__rmul__ but that's ugly).

best,
 Peter

-- 
Peter Prettenhofer
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to