#12834: Modify subs so that it can accept multiple equations just like subs_expr
----------------------------------------+-----------------------------------
Reporter: JoalHeagney | Owner: AlexGhitza
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.0
Component: algebra | Resolution:
Keywords: subs algebra solving | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Michael Orlitzky | Merged in:
Dependencies: | Stopgaps:
----------------------------------------+-----------------------------------
Changes (by mjo):
* status: new => needs_review
Comment:
Some Cython limitations made this more of an event than it had to be, but
the patch implements the requested feature and Nils' suggestions from
comment 1.
When you pass `subs()` a list, it's processed recursively, which has the
nice side effect of allowing you to call `solve()` and pass the result to
`subs()` without caring about the form of the return value.
The new `subs()` throws an error on conflicting substitutions... nobody
reads the documentation unless they have to so I think it's better to
alert the user that he's likely making a mistake.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12834#comment:3>
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 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-trac?hl=en.