On 7/16/07, Ted Kosan <[EMAIL PROTECTED]> wrote: > > Hello, > > I am experimenting with subtracting symbolic equations from each other > but I am running into some difficulties which are shown in the > following example:
No symbolic arithmetic is implemented. I'll implement it right now and post a patch. William > > ---------------------------------------------------------------------- > | SAGE Version 2.6.alpha1, Release Date: 2007-06-02 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > > sage: m = 144 == 20 * a + b > sage: n = 136 == 10 * a + b > sage: m > 144 == (b + 20*a) > sage: n > 136 == (b + 10*a) > sage: m - n > --------------------------------------------------------------------------- > <type 'exceptions.TypeError'> Traceback (most recent call last) > > /home/tkosan/<ipython console> in <module>() > > <type 'exceptions.TypeError'>: unsupported operand type(s) for -: > 'SymbolicEquation' and 'SymbolicEquation' > > ------- > > Any thoughts on how to properly subtract symbolic equations in SAGE? > > Thanks in advance :-) > > Ted > > > > -- William Stein Associate Professor of Mathematics University of Washington http://www.williamstein.org --~--~---------~--~----~------------~-------~--~----~ 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/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---
