#8734: make sage variables unique in maxima
-------------------------------------+-------------------------------------
       Reporter:  jason              |        Owner:  jason
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.3
      Component:  interfaces         |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jason Grout, Ralf  |    Reviewers:  Volker Braun, Paul
  Stephan                            |  Zimmerman, Karl-Dieter Crisman
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/rws/ticket/8734-1                |  a195985c0617bf14a5d644f5c065bea896340ce4
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by rws):

 Replying to [comment:54 kcrisman]:
 >  * In some of the sanitizing functions, you replace things like
 `'_SAGE_VAR_f` with `f`, but in others you only replace the independent
 variable that way.  Is that because of specific examples that didn't work,
 or was the context different, or... ?
 It certainly was then because of specific examples. The removal of the
 code I think you mean makes no difference now, however.
 >  * I'm wondering whether the Sage translation would have just taken care
 of this in `soln.sage()`, but I guess it didn't.   Was there any possible
 change to the translation that could have done this, rather than getting
 into the ode wrapper code directly (which makes it harder to read)?  For
 instance, in `desolve_laplace` we convert the `de` to Maxima (presumably
 adding `SAGE_VAR`, add another `SAGE_VAR` from `f(x)` to `f(_SAGE_VAR_x)`
 (I think), and then proceed to remove only the `SAGE_VAR` from the
 ''de''pendent variable.  So... that part isn't taken care of by the
 translation, but the independent variable still somehow is translated back
 correctly, but not forward within `de0=de._maxima_()`?  Yet in the `rk4`
 types this isn't a problem, apparently.
 With the above removal of superfluous code I don't see any different
 behaviour in the three functions `laplace/system/rk4`. There is always the
 marking of the dependent var to prepare for the call to solve. You cannot
 remove this because `maxima(cmd)` does no translation, it's the low-level
 call. The translation has to be done here, as far as I understand.

--
Ticket URL: <http://trac.sagemath.org/ticket/8734#comment:58>
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