#12809: Solve does not give consistent results when a dummy variable is involved
---------------------------------+------------------------------------------
Reporter: afleckenstein | Owner: burcin
Type: defect | Status: new
Priority: minor | Milestone: sage-5.0
Component: symbolics | Resolution:
Keywords: solve | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Changes (by mjo):
* cc: mjo (added)
Comment:
I implemented `MaximaLibElement.nicedummies()`, but it seems that once you
make the round-trip through sage, the information that zXX is a dummy is
lost:
{{{
from sage.interfaces.maxima_lib import maxima_lib
sage: y = var('y')
sage: soln = solve([cos(x)*sin(x) == 1/2, x+y == 0],x,y)
sage: maxima_lib(soln[0][0])
x=%pi*z36+%pi/4
sage: maxima_lib(soln[0][0]).nicedummies()
x=%pi*z36+%pi/4
}}}
(The function does actually work before you leave Maxima.)
So, we'd either have to add a `nicedummies` parameter to each of the
routines that return them, or write our own implementation that works
entirely within sage.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12809#comment:6>
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.