Processing math: 100%
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Please use

omega = R3.diff_form(1, name='omega', latex_name=r'\omega')

to get a correct LaTeX display in Sage 9.1 (notice name='omega' instead of a mere 'omega').

click to hide/show revision 2
No.2 Revision

Please use

omega = R3.diff_form(1, name='omega', latex_name=r'\omega')

to get a correct LaTeX display in Sage 9.1 (notice name='omega' instead of a mere 'omega').

Actually, the change that occured between Sage 8.1 and Sage >= 8.8, is that the unnamed arguments are now assumed to be some components to initialize the diff form. For instance, you can now declare and initialize omega in a single line:

omega = R3.diff_form(1, (y, z, x), name='omega', latex_name=r'\omega')
omega.display()

ω=ydx+zdy+xdz