HI:

I want to do differential form in sympy just like that in sagemath 
(http://doc.sagemath.org/html/en/reference/tensor/sage/tensor/differential_form_element.html)

Then I google sympy differential form, and find *class *sympy.diffgeom.
Differential(*form_field*) in 
http://docs.sympy.org/latest/modules/diffgeom.html

However, if I try:

from sympy.diffgeom.rn import R2
from sympy.diffgeom import Differential
from sympy.diffgeom import WedgeProduct
import sympy
s_field=sympy.sin(R2.x*R2.y)
Differential(s_field)

it just output d(sin(xy)) but not expand to any one form just like:

y*cos(x*y)*dx + x*cos(x*y)*dy

I try to use expand but still not working.

So I want to ask whether sympy.diffgeom can do the job. If it can, how to write 
the source code? If it can not, is there other module in sympy can do the job?

-- 
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/61f3dc2b-e579-4fcb-9676-bba6dcbf8f98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to