next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
GradedLieAlgebras :: lieAlgebra(..., genWeights => ...)

lieAlgebra(..., genWeights => ...) -- optional argument for lieAlgebra and randomLie

Synopsis

Description

This is an option to tell lieAlgebra or randomLie to assign the given weights to the generators. A weight is a list of integers of the same length, the first degree (also just called the degree) is positive and, if the Lie algebra has a differential, the last degree is the homological degree which is non-negative and less than the first degree. If the Lie algebra has no differential, the program defines a differential to be 0 and adds a last degree 0 to the existing degrees. When the option is given an integer value n, which is not possible when a non-zero differential is given, then the program defines the weight for each generator to be {n,0}.

Further information

See also