#12834: Modify subs so that it can accept multiple equations just like subs_expr
-------------------------------------+-------------------------------------
       Reporter:  JoalHeagney        |        Owner:  AlexGhitza
           Type:  enhancement        |       Status:  needs_work
       Priority:  minor              |    Milestone:  sage-6.4
      Component:  symbolics          |   Resolution:
       Keywords:  subs algebra       |    Merged in:
  solving                            |    Reviewers:  Vincent Delecroix,
        Authors:  Michael Orlitzky,  |  Michael Orlitzky
  Vincent Delecroix                  |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  24b98a061c140e9f76b171eb3dd1be0fa44d36b8
  u/mjo/ticket/12834                 |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 I just asked some collegues and maple does
 {{{
 >> subs(x = t, x + x^2 + x^3)
                            3    2
                           t  + t  + t
 >> subs(x^2 = t, x + x^2 + x^3)
                             3
                            x  + t + x
 >> subs(x + x^3 = t, x + x^2 + x^3)
                            3    2
                           x  + x  + x
 >> subs(x + x^2 = t, x + x^2 + x^3)
                            3    2
                           x  + x  + x
 >> subs(x + x^2 + x^3 = t, x + x^2 + x^3)
                                t

 }}}
 It would be cool to have these doctests. I found these examples simpler
 than what we currently have.

--
Ticket URL: <http://trac.sagemath.org/ticket/12834#comment:25>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to