#6756: [with patch, needs review] Implement ``diff`` format symbolic derivative
in
new symbolics
----------------------------+-----------------------------------------------
Reporter: gmhossain | Owner:
Type: enhancement | Status: new
Priority: major | Milestone:
Component: symbolics | Keywords:
Reviewer: Nick Alexander | Author: Golam Mortuza Hossain
Merged: |
----------------------------+-----------------------------------------------
Comment(by ncalexan):
I would like to evaluate various derivatives numerically, but there's no
obvious way to do so.
{{{
sage: def f(v, n): print v; return v**n
....:
sage: g(x, y).derivative(x, 1).subs( symbolic_diff(g(x, y), w0, w1) ==
f(w0, w1) )
$0
x
}}}
I would like to have my `f` examine w0 and w1 to determine the correct
variable, derivative, etc. But if you look, f gets evaluated with the
wild card objects (it must -- that's how python works.)
So I need to match the wild cards, then calculate the function, then
substitute. Just longer, that's all.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6756#comment:7>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---