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

basisLie -- a basis of Lie monomials in a given (multi-)degree

Synopsis

Description

i1 : L=lieAlgebra({x,y},{},genSigns=>{1,0},genWeights=>{{2,0},{2,1}},
         genDiffs=>{[],[x]},field=>ZZ/3)

o1 = L

o1 : LieAlgebra
i2 : dimTableLie 4

o2 = | 0 1 0 1 |
     | 0 1 0 1 |
     | 0 0 0 0 |
     | 0 0 0 0 |
     | 0 0 0 0 |

              5        4
o2 : Matrix ZZ  <--- ZZ
i3 : basisLie 4

o3 = {[x, x], [y, x]}

o3 : List
i4 : basisLie{4,1}

o4 = {[y, x]}

o4 : List
i5 : basisLie(4,0)

o5 = {[x, x]}

o5 : List

See also

Ways to use basisLie :