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

useLie -- changes the current Lie algebra and its mbRing

Synopsis

Description

i1 : L1=lieAlgebra({a,b,c},
        {{{1,-1},{[b,c],[a,c]}},{{1,-2},{[a,a,c],[b,b,b,a]}}},
        genWeights => {1,1,2}, genSigns=>{1,1,0})

o1 = L1

o1 : LieAlgebra
i2 : L2=holonomyLie({{0,1,2},{0,3,4},{1,3,5},{2,4,5}})

o2 = L2

o2 : LieAlgebra
i3 : computeLie 2

o3 = {6, 4}

o3 : List
i4 : defLie mb_{2,0}

o4 = [2, 1]

o4 : Array
i5 : useLie L1

o5 = L1

o5 : LieAlgebra
i6 : computeLie 2

o6 = {2, 4}

o6 : List
i7 : defLie mb_{2,0}

o7 = [a, a]

o7 : Array

See also

Ways to use useLie :