On Mon, Feb 10, 2014 at 12:16 PM, Nathaniel Smith <n...@pobox.com> wrote:
> On Mon, Feb 10, 2014 at 12:02 PM, Matthieu Brucher
> <matthieu.bruc...@gmail.com> wrote:
>> Yes, but these will be scipy.sparse matrices, nothing to do with numpy
>> (dense) matrices.
>
> Unfortunately when scipy.sparse matrices interact with dense ndarrays
> (e.g., sparse matrix * dense vector), then you always get back
> np.matrix objects


>>> csr_matrix([[1, 2], [3, 4]]) * array([5, 6])
array([17, 39])
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to