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

numGen -- the number of the generators of the Lie algebra

Synopsis

Description

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

o1 = L

o1 : LieAlgebra
i2 : L.numGen

o2 = 3

For the programmer

The object numGen is a symbol.