I've been trying to use SymPy to apply the variational operator in some 
functions but I believe I am not in the right way.

I have this toy example and the expected result below:

import sympy
from sympy import Function as f
sympy.var('x, t')
N = f('N')(x,t)
w = f('w')(x,t)
test = N*w.diff(x, x)
print test
#N(x, t)*Derivative(w(x, t), x, x)

#expected results after applying the variational operator (\delta)
# \delta{Derivative(w(x, t), x, x)}*N + Derivative(w(x, t), x, x)*\deltaN

Is there such operator in SymPy?

Thank you in advance!
Saullo

-- 
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 http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to