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 symbols. Now I only need to do the following:

In: sigma(*u) #so sigma depends of u_0, u_1, u_2, and if we use diff:
In: print(sigma)
Out: sigma(u_0,u_1,u_2)
In: diff(sigma, u_1) 
Out: Derivative(sigma(u_0,u_1,u_2), u_1)








-- 
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 sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
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/66686d14-5f92-4378-b08a-5d304c177b44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to