On 5 May 2012 20:34, Aaron Meurer <[email protected]> wrote:
> I think it is.  Boolean, Set, Tuple, etc. all derive from Basic, not
> Expr.  The issue is classes that derive from both Boolean and Expr,
> for example (such as Symbol).
>

This is the result of a quick grep search. I posted only the classes
that look like subclassing Expr incorrectly. Especially the part in
`physics`, `tensor` and `matrix`. I really do not know what to make
out of this. Any comments will be appreciated.

Also I would like to remark that neither Mathematica nor Lisp have the
notion of "expression limited to being only a complex number". I tend
to believe that such limitation is a bad idea, but I am not really
sure.

sympy/core/relational.py:class Relational(Expr, EvalfMixin):
sympy/core/function.py:class Lambda(Expr):
sympy/core/function.py:class Subs(Expr):
sympy/matrices/expressions/matexpr.py:class MatrixExpr(Expr):
sympy/physics/quantum/spin.py:class WignerD(Expr):
sympy/physics/quantum/qexpr.py:class QExpr(Expr):
sympy/physics/quantum/innerproduct.py:class InnerProduct(Expr):
sympy/physics/quantum/anticommutator.py:class AntiCommutator(Expr):
sympy/physics/quantum/tensorproduct.py:class TensorProduct(Expr):
sympy/physics/quantum/commutator.py:class Commutator(Expr):
sympy/physics/quantum/dagger.py:class Dagger(Expr):
sympy/physics/quantum/cg.py:class Wigner3j(Expr):
sympy/physics/quantum/cg.py:class Wigner6j(Expr):
sympy/physics/quantum/cg.py:class Wigner9j(Expr):
sympy/physics/gaussopt.py:class BeamParameter(Expr):
sympy/physics/secondquant.py:class Dagger(Expr):
sympy/physics/secondquant.py:class TensorSymbol(Expr):
sympy/physics/secondquant.py:class SqOperator(Expr):
sympy/physics/secondquant.py:class FockState(Expr):
sympy/physics/secondquant.py:class PermutationOperator(Expr):
sympy/series/order.py:class Order(Expr):
sympy/tensor/indexed.py:class Indexed(Expr):
sympy/tensor/indexed.py:class IndexedBase(Expr):
sympy/tensor/indexed.py:class Idx(Expr):

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to