On Mon, 2 Dec 2019 at 01:59, JS S <[email protected]> wrote:
>
> But what confuses me is this:
>
> - ImmutableDenseMatrix is subclass of Expr
> - ImmutableSparseMatrix is subclass of Basic, but not Expr.
> - ImmutableDenseNDimArray is, unlike its Matrix counterpart, subclass of 
> Basic but not Expr.

I don't think there is a good reason for the discrepancy here apart
from the fact that there is some confusion about what should subclass
from what. Another example is that Relational is a subclass of Expr
and that makes no sense at all.

Probably all of these should be Expr or none of them should.

--
Oscar

-- 
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/CAHVvXxQKXe1nNkz0%2BBP_NeuMX0mCWUaTZ4WYOxJD1f6cmKtBrw%40mail.gmail.com.

Reply via email to