S = simpleRootsG2()Uses the embedding in the plane $x_1+x_2+x_3=0$ inside $\mathbb Q^3$. Row $i$ gives $\alpha_i$ in the numbering of the corresponding Cartan matrix; its entries are Euclidean coordinates, not Dynkin labels or simple-root coefficients.
|
The two rows mean $\alpha_1=\varepsilon_1-\varepsilon_2$ and $\alpha_2=-2\varepsilon_1+\varepsilon_2+\varepsilon_3$. Their squared Euclidean lengths are $2$ and $6$, so the first root is short and the second is long. Thus there are 2 simple roots in 3 ambient coordinates. Use fromEpsilon to express a vector in this simple-root basis.
The object simpleRootsG2 is a function closure.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:12716:0.