>
|
|
Example 1. LieAlgebraData(StructureConstants)
In this example we create a 3 dimensional Array, C, of structure constants and use this Array to create a Lie algebra data structure for a Lie algebra called Ex1.
>
|
|
>
|
|
| (2.1) |
Example 2. LieAlgebraData(VectorStructureEquations)
In this example we create a Lie algebra data structure for a Lie algebra called Ex2 from a list of structure equations for the Lie brackets.
>
|
|
| (2.2) |
>
|
|
| (2.3) |
Example 3. LieAlgebraData(FormStructureEquations)
In this example we create a Lie algebra data structure for a Lie algebra called Ex3 from a list of structure equations for the exterior derivatives of the dual 1-forms.
>
|
|
| (2.4) |
>
|
|
| (2.5) |
Example 4. LieAlgebraData(MatrixAlgebra)
In this example we create a Lie algebra data structure for a Lie algebra called Ex4 from a list of matrices.
Ex2 >
|
|
| (2.6) |
Ex3 >
|
|
| (2.7) |
Example 5. LieAlgebraData(LieAlgebraName)
In this example we create a Lie algebra data structure for a Lie algebra called Ex5 from a previously initialized Lie algebra.
First we initialize a Lie algebra Ex5.
Ex4 >
|
|
Ex4 >
|
|
| (2.8) |
Applying LieAlgebraData to Ex5 gives back the Lie algebra data structure we started from.
Ex5 >
|
|
| (2.9) |
Example 6. LieAlgebraData(Subalgebra, "LieAlgebraData")
In this example we create a Lie algebra data structure from a subalgebra of a Lie algebra.
First we initialize a Lie algebra Alg5.
Ex5 >
|
|
Ex5 >
|
|
| (2.10) |
The vectors [e1, e2, e3] define a Lie subalgebra which we wish to initialize as a Lie algebra in its own right.
Alg5 >
|
|
Alg5 >
|
|
| (2.11) |