DifferentialGeometry[Tools]
DGsimplify
Calling Sequence
Parameters
Description
Examples
DGsimplify(X)
X
-
a vector field, differential form or tensor
This command is typically used to simplify a vector field, differential form or tensor, defined on a manifold M, after a substitution or evaluation of its coefficients at point on M.
This command is part of the DifferentialGeometry:-Tools package, and so can be used in the form DGsimplify(...) only after executing the commands with(DifferentialGeometry) and with(Tools) in that order. It can always be used in the long form DifferentialGeometry:-Tools:-DGsimplify.
with⁡DifferentialGeometry:with⁡Tools:
Example 1.
Define a manifold M with coordinates [x, y, z].
DGsetup⁡x,y,z,M:
Define a tensor on M and evaluate it at the point [x = 0, y = 2, z = 3].
T≔evalDG⁡x2⁢D_x&tdx+x⁢y⁢D_y&tdz+z&tD_z&tdy
T≔x2⁢D_x⁢dx+x⁢y⁢D_y⁢dz+z⁢D_z⁢dy
S≔eval⁡T,x=0,y=2,z=3
S≔0⁢D_x⁢dx+0⁢D_y⁢dz+3⁢D_z⁢dy
The terms 0*D_x and 0*D_y can be eliminated with a call to DGsimplify.
DGsimplify⁡S
3⁢D_z⁢dy
See Also
DifferentialGeometry
Tools
Download Help Document