DifferentialGeometry:-Tools[&MatrixMinus, &MatrixMult, &MatrixPlus, &MatrixWedge]
Calling Sequence
Parameters
Description
Examples
A &MatrixMinus B - subtract two Matrices/Vectors of vectors, differential forms or tensors
A &MatrixMult C - multiply a Matrix/Vector A of vectors, differential forms or tensors by a scalar C or a Matrix/Vector C of scalars
C &MatrixMult A - multiply a Matrix A of vectors, differential forms or tensors by a scalar C or a Matrix/Vector C of scalars
A &MatrixPlus B - add two Matrices/Vectors of vectors, differential forms or tensors
E &MatrixWedge F - calculate the Matrix wedge product of two Matrices/Vectors of differential forms.
A, B
-
two Matrices/Vectors of vectors, differential forms or tensors
C
a scalar or a Matrix/Vector of scalars
E, F
two Matrices/Vectors of differential forms
These commands provide, within the DifferentialGeometry environment, the basic arithmetical operations for Matrices or Vectors of: vectors, differential forms, or tensors. They are particularly useful for curvature calculations for connections on principle bundles of matrix groups.
These commands are part of the DifferentialGeometry:-Tools package, and so can be used in the form described above only after executing the commands with(DifferentialGeometry) and with(Tools) in that order.
with⁡DifferentialGeometry:with⁡Tools:
Define a 3-dimensional manifold M with coordinates [x, y, z].
DGsetup⁡x,y,z,M:
Example 1
Define two column Vectors of 1 forms A, B; a 2x2 matrix C of scalars; a row Vector of 1 forms E and a 2x2 Matrix of 1 forms F.
A≔Vector⁡evalDG⁡dx−dy,dy+dx
A≔dx−dydx+dy
B≔Vector⁡evalDG⁡dx+2⁢dy,dx+3⁢dy
B≔dx+2⁢dydx+3⁢dy
C≔Matrix⁡1,2,3,4
C≔1234
E≔LinearAlgebra:-Transpose⁡A
E≔dx−dydx+dy
F≔Matrix⁡evalDG⁡dx−dz,dy,dz,dx+dy+3⁢dz
F≔dx−dzdydzdx+dy+3⁢dz
Perform various arithmetic operations with the quantities A, B, C, E, F.
A&MatrixPlusB
2⁢dx+dy2⁢dx+4⁢dy
A&MatrixMinusB
−3⁢dy−2⁢dy
a&MatrixMultA
a⁢dx−a⁢dya⁢dx+a⁢dy
C&MatrixMultA
3⁢dx+dy7⁢dx+dy
E&MatrixMultC
4⁢dx+2⁢dy6⁢dx+2⁢dy
E&MatrixWedgeB
5⁢dx⁢⋀⁢dy
C&MatrixMultF
dx+dz2⁢dx+3⁢dy+6⁢dz3⁢dx+dz4⁢dx+7⁢dy+12⁢dz
F&MatrixWedgeA
−2⁢dx⁢⋀⁢dy+dx⁢⋀⁢dz−dy⁢⋀⁢dz−4⁢dx⁢⋀⁢dz−2⁢dy⁢⋀⁢dz
F&MatrixWedgeF
dy⁢⋀⁢dz4⁢dy⁢⋀⁢dzdy⁢⋀⁢dz−dy⁢⋀⁢dz
See Also
DifferentialGeometry
LinearAlgebra
AlgebraicOperations
evalDG
DGzip
Matrix
Vector
Download Help Document