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

weightDer -- gives the weight of a derivation

Synopsis

Description

Given a derivation d:M->L, the map d changes the weight of the argument according to d.weightDer.

i1 : L=lieAlgebra({y,z},{},genSigns=>1,genWeights=>{{1,0},{1,-1}})

o1 = L

o1 : LieAlgebra
i2 : M=lieAlgebra({a,b},{},genSigns=>1,genWeights=>{{1,0},{1,1}})

o2 = M

o2 : LieAlgebra
i3 : f = mapLie(L,M,{[y],[]})

o3 = f

o3 : MapLie
i4 : d = derLie(f,{[y,z],[y,y]})

o4 = d

o4 : DerLie
i5 : d.weightDer

o5 = {1, -1, 0}

o5 : List

See also

For the programmer

The object weightDer is a symbol.