I am trying to define a non-communicative symbol. If I do:
a = sympy.Symbol('a')
A = sympy.Symbol('A',communicative=False)
B = sympy.Symbol('B',communicative=False)
print a,A,B
print A+B == B+A
print A*B == B*A
print a*A == A*a
I get:
a A B
True
True
True
What am I doing wrong. I could not find anything in the docs. I would
think the second test would be False?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---