[Numpy-discussion] deprecate numpy.matrix

Matthew Brett matthew.brett at gmail.com
Mon Feb 10 15:47:29 EST 2014


Hi,

On Mon, Feb 10, 2014 at 12:44 PM, Charles R Harris
<charlesr.harris at gmail.com> wrote:
>
>
>
> On Mon, Feb 10, 2014 at 1:23 PM, Alan G Isaac <alan.isaac at gmail.com> wrote:
>>
>> On 2/10/2014 3:04 PM, Matthew Brett wrote:
>> > I teach psychologists and neuroscientists mainly
>>
>>
>> I must suspect that notebook was not for
>> **undergraduate** psychology students.
>> At least, not the ones I usually meet.
>>
>> SymPy is great but for those without background
>> it is at best awkward.  It certainly does not
>> offer an equivalent to the notational convenience
>> of numpy's matrix object.
>>
>>
>> As far as I have been able to discern, the underlying
>> motivation for eliminating the matrix class is that
>> some developers want to stop supporting in any form
>> the subclassing of numpy arrays.  Do I have that right?
>>
>> So the real question is not about numpy's matrix class,
>> but about whether subclassing will be supported.
>> (If I'm correctly reading the tea leaves.)
>>
>
> I don't see any reason to remove the Matrix object. It has its limitations,
> I don't use it myself, but it costs little and I don't see the value of
> forcing users to change.

Maybe it would help to take 'remove the Matrix object' off the table
so we don't get side-tracked.  Does anyone disagree with the proposal
to take that off the table?

Cheers,

Matthew



More information about the NumPy-Discussion mailing list