#6243: [with patch, needs review] hashes for derivatives of symbolic functions
w.r.t. different variables are the same
-----------------------+----------------------------------------------------
Reporter: burcin | Owner: burcin
Type: defect | Status: assigned
Priority: major | Milestone: sage-4.1.1
Component: symbolics | Keywords:
Reviewer: | Author: Burcin Erocal
Merged: |
-----------------------+----------------------------------------------------
Comment(by gmhossain):
I tested this out. Pynac changes seem fine to me. I encountered one issue
though:
{{{
sage: d = {}
sage: d[x] = 1
sage: d
{x: 1}
sage: f(x) = function('f',x)
sage: d[diff(f(x),x)] = 2
sage: d.keys()
[D[0](f)(x), x]
sage: d.values()
[2, 1]
sage: d
!boom!
}}}
The origin of this !boom! lies in expression_conversions.py for
fderivative
which is clearly NOT in purview of this patch. So I am going to give it a
positive review
shortly.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6243#comment:3>
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
-~----------~----~----~----~------~----~------~--~---