Macaulay2 » Documentation
Packages » KacMoody » Command reference » toWeight
next | previous | forward | backward | up | index | toc

toWeight -- Regard a root-lattice element as a complete weight

Description

Conversion uses the specified realization and retains all coordinates, including null or central directions in singular type. The parent root datum is unchanged.

i1 : D = rootDatum "A2";
i2 : alpha = kmRoot(D,{1,0})

o2 = (1, 0)

o2 : KMRoot
i3 : y = toWeight alpha;
i4 : (datumCoordinates y,parentDatum y == D)

o4 = ({2, -1}, true)

o4 : Sequence

The output coordinates $(2,-1)$ express that $\alpha_1$ has Dynkin labels $(2,-1)$. The final true says that conversion kept the same root datum.

See also

Ways to use toWeight:

  • toWeight(KMRoot)

For the programmer

The object toWeight is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:13524:0.