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

## Synopsis

• Function: monomials
• Usage:
c = monomials(x)
• Inputs:
• x, an instance of the type LieElement, $x$ is of type $L$, where $L$ is of type LieAlgebra
• Optional inputs:
• Outputs:
• c, a list, the list of monomials in $x$

## 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