change the current frame to the frame for a Lie algebra - Maple Programming Help

Home : Support : Online Help : Mathematics : DifferentialGeometry : LieAlgebras : DifferentialGeometry/LieAlgebras/ChangeLieAlgebraTo

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

 • 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(...).

Examples

 > with(DifferentialGeometry): with(LieAlgebras):

Example 1.

First initialize a pair of Lie algebras.

 > L1 := _DG([["LieAlgebra", Alg1, [3]], [[[2, 3, 1], 1]]]);
 ${\mathrm{_DG}}{}\left(\left[\left[{"LieAlgebra"}{,}{\mathrm{Alg1}}{,}\left[{3}\right]\right]{,}\left[\left[\left[{2}{,}{3}{,}{1}\right]{,}{1}\right]\right]\right]\right)$ (2.1)
 Alg1   > DGsetup(L1):
 Alg1   > L2 := _DG([["LieAlgebra", Alg2, [2]], []]);
 > DGsetup(L2):
 ${\mathrm{_DG}}{}\left(\left[\left[{"LieAlgebra"}{,}{\mathrm{Alg2}}{,}\left[{2}\right]\right]{,}\left[{}\right]\right]\right)$ (2.2)
 Alg2 > Tools:-DGinfo("CurrentFrame");
 ${\mathrm{Alg2}}$ (2.3)
 Alg2 > ChangeLieAlgebraTo(Alg1);
 ${\mathrm{Alg2}}$ (2.4)
 Alg1 > Tools:-DGinfo("CurrentFrame");
 ${\mathrm{Alg1}}$ (2.5)

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".

 Alg1 > Tools:-DGinfo("CurrentFrame");
 ${\mathrm{Alg1}}$ (2.6)
 Alg1 > lprint(e1);
 _DG([["vector", Alg1, []], [[[1], 1]]])
 Alg1 > Tools:-DGinfo(e1, "ObjectFrame");
 ${\mathrm{Alg1}}$ (2.7)

Now change to the Lie algebra Alg2 and run the lprint and Tools:-DGinfo commands with the keyword "ObjectFrame".

 Alg1 > ChangeLieAlgebraTo(Alg2);
 ${\mathrm{Alg1}}$ (2.8)
 Alg2 > lprint(e1);
 _DG([["vector", Alg2, []], [[[1], 1]]])
 Alg2 > Tools:-DGinfo(e1, "ObjectFrame");
 ${\mathrm{Alg2}}$ (2.9)