Updates:
Status: Fixed
Comment #3 on issue 626 by hazelnusse: solve fails when solving for
f(x).diff(x)
http://code.google.com/p/sympy/issues/detail?id=626
Ondrej,
I think the patches I've attache fix this problem. This is the behavior
I get:
>>> x = Symbol('x')
>>> f = Function('f')
>>> F = x**2 + f(x)**2 - 4*x - 1
>>> solve(F.diff(x), diff(f(x), x))
[(2 - x)/f(x)]
Let me know if the patches look ok. There are two because the first one I
didn't
implement the code correctly to deal with sets, and I didn't have tests for
the above
case.
Attachments:
0001-Implemented-code-to-allow-for-solving-for-Function-a.patch 5.0 KB
0001-More-functionality-to-allow-solve-to-work-with-sets.patch 1.9 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---