Although the ordering of t and g(t) does not matter, the ordering of t and g'(t) will matter. e.g. `(g(t) +g'(t)).diff(t, g'(t))` is 1 whereas differentiating in reverse order gives 0.
On Wednesday, August 29, 2018 at 12:55:03 AM UTC-5, Chris Smith wrote: > > SymPy allows derivative wrt non-Symbols. Under the current assumptions, > `g(t).diff(g(t),t) == g(t).diff(t, g(t)) == 0`. Can anyone give an example > where `f(g(t)).diff(t, g(t))` would not equal `f(g(t)).diff(g(t), t)`? > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/27c24e7e-2432-4cce-ba91-6b29e0bc82a7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
