Macaulay2 » Documentation
Packages » GradedLieAlgebras :: monomials(LieElement)
next | previous | forward | backward | up | index | toc

monomials(LieElement) -- get the monomials of a Lie element

Synopsis

Description

The optional input given above is not relevant for Lie algebras. This is equal to the second part of coefficients(LieElement).

i1 : L = lieAlgebra{a,b,c}

o1 = L

o1 : LieAlgebra
i2 : x = a b c - 3 c b a +(1/3) b a c

o2 =  - (4/3)(b c a) - 2 (c b a)

o2 : L
i3 : monomials x

o3 = {(b c a), (c b a)}

o3 : List
i4 : y = a@b@c/3@c@b@a++(1/3)@b@a@c

o4 = (a b c) - 3 (c b a) + (1/3)(b a c)

o4 : L
i5 : monomials y

o5 = {(a b c), (c b a), (b a c)}

o5 : List

See also

Ways to use this method: