Comment #2 on issue 2738 by [email protected]: Make a distinction between operations and their result
http://code.google.com/p/sympy/issues/detail?id=2738
A Mul and an OpMul are very different beasts. One major difference is that OpMul can't be a subclass of Expr: it doesn't really make sense to add two operations together, it's their results that can be added. I think there won't be much code to share between Mul and OpMul, so there shouldn't be any inheritance relationship between them.
I haven't thought about functions yet. I'd say that we should implement a minimal useful set of Op* classes (i.e. OpAdd, OpMul, OpSub, OpDiv, OpPow) and use them a bit before worrying about functions, though presumably we'll need some kind of OpApply class.
-- You received this message because you are subscribed to the Google Groups "sympy-issues" 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-issues?hl=en.
