I would say that you should use doit but I just tried that and it crashed:
In [*9*]: e=Function('g')(Function('f')(x1,x2),Function('h'
)(x1,x2)).diff(x1)
In [*10*]: e
Out[*10*]:
⎛ ∂ ⎞│⎛ ∂ ⎞│ ⎛
∂ ⎞│
Simple example of multivariate chain rule:
print(Function('g')(Function('f')(x1,x2)).diff(x1))
Gives the expected:
[image: diff1.PNG]
Derivative(f(x1, x2), x1)*Derivative(g(f(x1, x2)), f(x1, x2))
Adding another function h:
On Sat, 24 Aug 2019 at 01:29, manaxf wrote:
>
> Has this issue been fixed?
I don't know but judging from Bjorn's comments maybe it isn't that
hard to fix. Are you interested in sending a PR?
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To