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

computeLie -- computes everything that is needed for a Lie algebra up to a given degree

Synopsis

Description

Most functions need the execution of computeLie, but this is done already in each program.

i1 : L=lieAlgebra({a,b,c},{[a,a,b],[a,c]}, genWeights=>{1,1,2})

o1 = L

o1 : LieAlgebra
i2 : computeLie 3

o2 = {2, 2, 2}

o2 : List
i3 : basisLie 3

o3 = {[b, b, a], [b, c]}

o3 : List
i4 : L.compdeg

o4 = 3
i5 : basisLie 4

o5 = {[b, b, b, a], [a, b, c], [b, b, c]}

o5 : List
i6 : L.compdeg

o6 = 4

See also

Ways to use computeLie :