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

weightToRootCoordinates -- Find rational simple-root coordinates

Description

This solves for the coefficients of the given vector in the simple-root span. It does not require integral coefficients. An incomplete vector or a vector outside that span is rejected rather than projected onto it.

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

o2 = (1, 0)

o2 : KMWeight
i3 : weightToRootCoordinates lambda

      2  1
o3 = {-, -}
      3  3

o3 : List

The coefficients are $(2/3,1/3)$. Thus $\omega_1=(2/3)\alpha_1+(1/3)\alpha_2$. The vector lies in the rational span but not in the integral root lattice.

See also

Ways to use weightToRootCoordinates:

  • weightToRootCoordinates(KMWeight)

For the programmer

The object weightToRootCoordinates 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:13643:0.