Hi,
The following runs almost as expected:
x=Symbol('x')
y=Symbol('y')
t=Symbol('t')
f=Function('f')
u=f(x,t)
phi=Function('phi')
Phi = phi(x,t,u)
part=Phi
total=diff(part,x)
print total
It gives:
Derivative(f(x, t), x)*Subs(Derivative(phi(x, t, _xi_3), _xi_3), (_xi_3,),
(f(x, t),)) + Derivative(phi(x, t, f(x, t)), x)
which is probably the intended result (total derivative). Is there
documentation on Subs?
In the end I would simply want the substitution to be carried out, i.e.
Derivative(f(x,t),x)*Derivative(phi(x,t,f(x,t)) + Derivative(phi(x,t,
f(x,t)),x)
How to do that?
Thanks,
Marc
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/sympy/-/tvR4MGVPTX0J.
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?hl=en.