Status: Accepted
Owner: asmeurer
Labels: Type-Enhancement Priority-Medium

New issue 2206 by asmeurer: plus-minus object
http://code.google.com/p/sympy/issues/detail?id=2206

Do others think this would be useful?

I think we should have an object that represents plus-minus (±), and another to represent minus-plus (∓) .
They would probably be called pm and mp or something.  The behavior would be

a = pm*x
a
±⋅x
-a
∓⋅x

There are many cases where you want to keep track of two expressions that differ only by a plus/minus sign somewhere in the expression (like conjugates or something), and I think an object like this would be useful.

--
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.

Reply via email to