Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium
New issue 2210 by [email protected]: Sum does not set commutativity
http://code.google.com/p/sympy/issues/detail?id=2210
Should a general Expr method, is_commutative be defined, or, like was done
for Integral, should this flag be set internally? Perhaps the Expr version
would be
def is_commutative(self):
rv = getattr(self, 'is_commutative')
if rv is None:
return all(s.is_commutative for s in self.free_symbols)
return rv
--
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.