A LieElement has a normal form, which is a linear combination of basis elements in a Lie algebra L in a certain order, coeffsLie gives the list of coefficients in this representation. If the LieElement has been obtained using the "formal" operators, then coeffsLie gives the coefficients for all the iterated Lie products used in the expression.
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 : coeffsLie x 4 o3 = {- -, -2} 3 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 : coeffsLie y 1 o5 = {1, -3, -} 3 o5 : List |
i6 : monomialsLie y o6 = {(a b c), (c b a), (b a c)} o6 : List |