L = lieAlgebra(gen,Weights => w)
This is an option to tell lieAlgebra to assign the given weights to the generators. A weight is a list of integers of a length that is the same for all generators, see degreeLength(LieAlgebra). The first component (also just called the degree) is positive, see firstDegree(LieElement). If the option LastWeightHomological is true, then the last component in a weight is the homological degree, which is nonnegative and less than the first degree. If the option LastWeightHomological is false, then the program adds a last component 0 to the existing degrees. When the option is given as a list of integers $n1,n2,\ldots$, which is not possible when the option LastWeightHomological is true, then the program defines the weights for the generators to be $\{n1,0\},\ \{n2,0\},\ldots$. The default value is 1, which has the effect that all generators have weight $\{1,0\}$.





