Re: [sympy] Re: defining a derivative

2016-11-11 Thread Aaron Meurer
Regarding the ValueError, this is expected behavior. You can only take derivatives with respect to symbols and simple undefined functions (like f(x)). See http://docs.sympy.org/latest/modules/core.html#sympy.core.function.Derivative Aaron Meurer On Fri, Nov 11, 2016 at 1:15 PM, Riccardo Rossi

[sympy] Re: defining a derivative

2016-11-11 Thread Riccardo Rossi
ping! any more possible feedback on this? thx in advance Riccardo On Friday, October 14, 2016 at 10:53:27 AM UTC+2, Riccardo Rossi wrote: > > Dear List, > > i am writing since i would like to define the output of the derivative of > a function, and i don't have a clue of how to achieve it >

[sympy] Re: defining a derivative

2016-10-14 Thread Vicente Mataix Ferrándiz
What I am using right now dear Riccardo is the following: Suppose that my variable sigma(define as a symbol) depends of u, but at the same time this u is vectorial variable, which means for example in 3D the variable will be : u = [u_0, u_1, u_2], all the components of u are defined as