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 instead of np.ndarray objects. So it's impossible to avoid np.matrix entirely if using scipy.sparse. -n _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion