>
|
|
Example 1.
First we define 3 Lie algebra data structures and initialize their Lie algebras. We display the multiplication tables.
>
|
|
>
|
|
Alg1 >
|
|
Alg1 >
|
|
Alg2 >
|
|
Alg2 >
|
|
Alg3 >
|
|
| (2.1) |
Create the direct sum of the Lie algebra data structures L1 and L2.
Alg3 >
|
|
| (2.2) |
Alg4 >
|
|
Create the direct sum of the Lie algebras Alg1, Alg2 and the Lie algebra data structure L3.
Alg4 >
|
|
| (2.3) |
Alg2 >
|
|