Dear Sympiers,
I have been puzzled by the results of the integration on some unknown
function of several variables. For instance:
>>> import sympy as sy
>>> x, y, t = sy.symbols('x y t', real=True)
>>> vx = sy.Function('v_x')(x,y,t)
vx being thought as a scalar field in the 2D plane.
>>> sy.integrate(vx, (y))
gives the expected primitive of the field wrt the second argument y.
However
>>>sy.integrate(vx.diff(x), (y))
assumes that vx.diff(x) does not depend on y, and thus the primitive is
simply y*vx.diff(x).
Did I miss some fundamental point in this trivial example ?
Best regards
Fabrice
--
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/31313ec5-f4cf-427f-ac84-9dbd710ad72a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.