| 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').
| 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()
$$\omega = y \mathrm{d} x + z \mathrm{d} y + x \mathrm{d} z$$
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.