Re: [sympy] How to avoid automatic xi symbols appearing with diff of chained functions

2019-08-24 Thread Oscar Benjamin
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*]: ⎛ ∂ ⎞│⎛ ∂ ⎞│ ⎛ ∂ ⎞│

[sympy] How to avoid automatic xi symbols appearing with diff of chained functions

2019-08-24 Thread Mathieu Lamarre
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:

Re: [sympy] Re: fcode example in documentation not working?

2019-08-24 Thread Oscar Benjamin
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