DifferentialGeometry
evalDG
evaluate a DifferentialGeometry expression
Calling Sequence
Parameters
Description
Examples
evalDG(T)
T
-
a linear combination of vectors, differential forms or tensors defining using +, -, * for scalar multiplication, &w for wedge product, &t for tensor product, and &s for the symmetric tensor product
The command evalDG provides a simple and efficient way for creating vector files, differential forms and tensors for subsequent calculations with the DifferentialGeometry package.
Note that Maple may perform simplifications before passing the arguments to evalDG, and these simplifications may result in an incorrect parsing of the input to evalDG. In particular, if, for example, X is a vector field, then evalDG(0*X) will return the scalar 0 and not the zero vector. To define a zero object, use 0 &mult evalDG(X) or the Tools command DGzero.
This command is part of the DifferentialGeometry package, and so can be used in the form evalDG(...) only after executing the command with(DifferentialGeometry). It can always be used in the long form DifferentialGeometry:-evalDG.
with⁡DifferentialGeometry:
Define a 4 dimensional manifold M with coordinates [x, y, z, t].
DGsetup⁡x,y,z,w,M:
Example 1.
Create some vectors.
evalDG⁡2⁢D_x−y⁢D_z+x2⁢D_w
2⁢D_x−y⁢D_z+x2⁢D_w
evalDG⁡12⁢D_x−1y⁢D_z+1x2⁢D_w
D_x2−D_zy+D_wx2
Example 2.
Create a differential form.
evalDG⁡dx&wdy+x2+y2⁢dz&wdw
dx⁢⋀⁢dy+x2+y2⁢dz⁢⋀⁢dw
Example 3.
Create some tensors.
evalDG⁡dx&tdy+x2+y2⁢dz&tdw
dx⁢dy+x2+y2⁢dz⁢dw
evalDG⁡dx&sdy+dz&tdw
dx2⁢dy+dy2⁢dx+dz⁢dw
Example 4.
Note the difference between the following two calls to evalDG.
evalDG⁡0⁢D_x
0
eval⁡evalDG⁡a⁢D_x,a=0
0⁢D_x
Tools:-DGzero⁡vector
See Also
&plus
DGzero
DGzip
Tools
Download Help Document