#6344: Typesetting partial derivatives in new symbolics
---------------------------------+--------------------------
Reporter: gmhossain | Owner: burcin
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: symbolics | Resolution:
Keywords: | Merged in:
Authors: Burcin Erocal | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------------+--------------------------
Comment (by nbruin):
Replying to [comment:16 schymans]:
> Wouldn't it be possible to write some parsing code to convert something
like D[0,1](f)(x,y) to any kind of notation? It should even be possible to
convert it back to diff(f(x,y),x,y), as requested here:
http://comments.gmane.org/gmane.comp.mathematics.sage.devel/58040
It's really much easier to do on the expression tree than on a string. We
do it for conversions already. See e.g.
[https://github.com/sagemath/sage/blob/master/src/sage/interfaces/maxima_lib.py#L1564].
The approach is straightforward. The hard work is that you need to reach
into Pynac to make the change. So it takes someone conversant with Pynac
who cares enough to do it. Doing it on strings afterwards is going to be
horrible.
Incidentally, watch out that an expression like
{{{
D[0,1](f)(x,x+1)
}}}
is almost impossible to write in Leibnitz notation unless you introduce
auxiliary variables (which is what happens in the maxima_lib code). So you
should probably just stick with operator notation for those cases (maple
does).
--
Ticket URL: <http://trac.sagemath.org/ticket/6344#comment:17>
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.