#15074: Allowing 'textbook style' derivative output from pynac
---------------------------+-----------------------------
   Reporter:  mbejger      |            Owner:
       Type:  enhancement  |           Status:  new
   Priority:  major        |        Milestone:  sage-5.12
  Component:  symbolics    |         Keywords:
  Merged in:               |          Authors:
  Reviewers:               |  Report Upstream:  N/A
Work issues:               |           Branch:
     Commit:               |     Dependencies:
   Stopgaps:               |
---------------------------+-----------------------------
 This is to allow for 'textbook style' of derivatives - something like
 \partial!^!{2}/\partial xy\,f(x, y), instead of D[0,1](f)(x,y) for a more
 readable output, especially in LaTeX in the notebook environment. I
 imagine it working like this:

 {{{
 sage: var('x y z'); f = function('f', x, y, z)
 sage: from sage.symbolic.pynac import textbook_style_deriv
 sage: textbook_style_deriv(True)
 sage: f.diff(x,z,y,z)
 D^4/Dxyzz f(x, y, z)
 sage: latex(f.diff(x,z,y,z))
 \frac{\partial^4}{\partial\,xyzz}f(x, y, z)
 sage: textbook_style_deriv(False)
 sage: f.diff(x,z,y,z)
 D[0, 1, 2, 2](f)(x, y, z)
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/15074>
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/groups/opt_out.

Reply via email to