When the first argument is an integer, then the dimensions up to that degree are given. When the first argument is a list, then the dimension in that specific multidegree is given. Observe that if the Lie algebra has no differential, then an extra homological degree=0 is added to the given weights of the generators.
i1 : L = lieAlgebra({a,b,c},{},genSigns=>{1,0,1},genWeights=>{{1,0},{1,2},{1,0}}) o1 = L o1 : LieAlgebra |
i2 : subalgLie(4,{[a],[b,c]}) o2 = {1, 2, 1, 2} o2 : List |
i3 : subalgLie({4,4,0},{[a],[b,c]}) o3 = 1 |