next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
GradedLieAlgebras :: whichLie

whichLie -- prints the current Lie Algebra

Synopsis

Description

i1 : L=lieAlgebra({a,b,c},genSigns=>{0,0,1},genWeights=>{{1,0},{1,0},{2,1}},diffl=>true)

o1 = L

o1 : LieAlgebra
i2 : L=diffLieAlgebra{L.zz,L.zz,a b}/{a a b, b b a}

o2 = L

o2 : LieAlgebra
i3 : M=minmodelLie 3

o3 = M

o3 : LieAlgebra
i4 : dimTableLie 3

o4 = | 2 1 0 |
     | 0 1 2 |
     | 0 0 0 |

              3        3
o4 : Matrix ZZ  <--- ZZ
i5 : whichLie()

o5 = L

o5 : LieAlgebra
i6 : useLie M

o6 = M

o6 : LieAlgebra
i7 : dimTableLie 3

o7 = | 2 1 2 |
     | 0 1 4 |
     | 0 0 0 |

              3        3
o7 : Matrix ZZ  <--- ZZ

See also