&MatrixMinus - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


DifferentialGeometry:-Tools[&MatrixMinus, &MatrixMult, &MatrixPlus, &MatrixWedge]

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

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.

Parameters

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

Description

• 

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.

Examples

> 

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

(1)
> 

B≔Vector⁡evalDG⁡dx+2⁢dy,dx+3⁢dy

B≔dx+2⁢dydx+3⁢dy

(2)
> 

C≔Matrix⁡1,2,3,4

C≔1234

(3)
> 

E≔LinearAlgebra:-Transpose⁡A

E≔dx−dydx+dy

(4)
> 

F≔Matrix⁡evalDG⁡dx−dz,dy,dz,dx+dy+3⁢dz

F≔dx−dzdydzdx+dy+3⁢dz

(5)

Perform various arithmetic operations with the quantities A, B, C, E, F.

> 

A&MatrixPlusB

2⁢dx+dy2⁢dx+4⁢dy

(6)
> 

A&MatrixMinusB

−3⁢dy−2⁢dy

(7)
> 

a&MatrixMultA

a⁢dx−a⁢dya⁢dx+a⁢dy

(8)
> 

C&MatrixMultA

3⁢dx+dy7⁢dx+dy

(9)
> 

E&MatrixMultC

4⁢dx+2⁢dy6⁢dx+2⁢dy

(10)
> 

E&MatrixWedgeB

5⁢dx⁢⋀⁢dy

(11)
> 

C&MatrixMultF

dx+dz2⁢dx+3⁢dy+6⁢dz3⁢dx+dz4⁢dx+7⁢dy+12⁢dz

(12)
> 

F&MatrixWedgeA

−2⁢dx⁢⋀⁢dy+dx⁢⋀⁢dz−dy⁢⋀⁢dz−4⁢dx⁢⋀⁢dz−2⁢dy⁢⋀⁢dz

(13)
> 

F&MatrixWedgeF

dy⁢⋀⁢dz4⁢dy⁢⋀⁢dzdy⁢⋀⁢dz−dy⁢⋀⁢dz

(14)

See Also

DifferentialGeometry

LinearAlgebra

AlgebraicOperations

evalDG

DGzip

Matrix

Vector