LieAlgebras[ChangeLieAlgebraTo] - change the current frame to the frame for a Lie algebra
Calling Sequences
ChangeLieAlgebraTo(AlgName)
Parameters
AlgName - name or string, the name of an initialized Lie algebra
Description
Examples
With the DifferentialGeometry package, the user can create many manifolds (coordinate systems) and Lie algebras within a single Maple session. The structure equations and other attributes of these manifolds and Lie algebras are all stored in memory and are accessible at any time. However, at any given moment one manifold or Lie algebra has the preferred status of the current frame. The default value of the current frame is the frame in which the most recent calculation was performed or the most recent object displayed.
The DifferentialGeometry:-DGinfo("CurrentFrame") returns the value of the current frame.
The command ChangeLieAlgebraTo(AlgName) simply changes the current frame to the frame for the Lie algebra AlgName. It returns the name of the previous frame.
The command ChangeLieAlgebraTo is part of the DifferentialGeometry:-LieAlgebras package. It can be used in the form ChangeLieAlgebraTo(...) only after executing the commands with(DifferentialGeometry) and with(LieAlgebras), but can always be used by executing DifferentialGeometry:-LieAlgebras:-ChangeLieAlgebraTo(...).
with⁡DifferentialGeometry:with⁡LieAlgebras:
Example 1.
First initialize a pair of Lie algebras.
L1≔_DG⁡LieAlgebra,Alg1,3,2,3,1,1
_DG⁡LieAlgebra,Alg1,3,2,3,1,1
DGsetup⁡L1:
L2≔_DG⁡LieAlgebra,Alg2,2,
DGsetup⁡L2:
_DG⁡LieAlgebra,Alg2,2,
Tools:-DGinfo⁡CurrentFrame
Alg2
ChangeLieAlgebraTo⁡Alg1
Alg1
We used the same names e1 and e2 for vectors in the two algebras Alg1 and Alg2. It is important then to remember that e1 will refer to the first vector in the Lie algebra of the current frame. We can illustrate this by using lprint to display the internal representation of the vector e1 or by using the command Tools:-DGinfo with the keyword "ObjectFrame".
lprint⁡e1
_DG([["vector", Alg1, []], [[[1], 1]]])
Tools:-DGinfo⁡e1,ObjectFrame
Now change to the Lie algebra Alg2 and run the lprint and Tools:-DGinfo commands with the keyword "ObjectFrame".
ChangeLieAlgebraTo⁡Alg2
_DG([["vector", Alg2, []], [[[1], 1]]])
See Also
DifferentialGeometry
LieAlgebras
DGinfo
Download Help Document