MutableMatrix doesn't subclass from Basic because Basic subclasses have to be mutable. That's why there is an ImmutableMatrix class, which does subclass from Basic. Matrix aliases MutableMatrix for backwards compatibility. I'm not sure about Vector but I think it is similar.
Aaron Meurer On Fri, Nov 29, 2019 at 12:23 AM JS S <[email protected]> wrote: > > I'm just being curious. > Some classes in sympy, such as Matrix in matrices package or Vector in > physics.vector package, are not subclass of Basic. > Is this intentional? > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/369cebed-3c6b-4e06-b729-858222baed5d%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2Br14ss9Nm%2Bi6paiFMG9tPpgVVf%2B-TYBMNh07TXNTR_%3Dw%40mail.gmail.com.
