[Numpy-discussion] deprecate numpy.matrix
Alan G Isaac
alan.isaac at gmail.com
Mon Feb 10 16:40:14 EST 2014
On 2/10/2014 4:28 PM, Pauli Virtanen wrote:
> Starting with asarray won't work: sparse matrices are not subclasses
> of ndarray.
I was focused on the `matrix` object.
For this object, an initial asarray is all it takes to use array code.
(Or ... not?) And it is a view, not a copy.
I don't have the background to know how scipy ended up with
a sparse matrix object instead of a sparse array object.
In any case, it seems like a different question.
More information about the NumPy-Discussion