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

fromEpsilon -- Convert $\varepsilon$-basis coordinates to simple-root coordinates

Description

Inverse of toEpsilon: solves lambda * S == v for the simple-root coordinate vector lambda, where $S$ is the simple-root matrix. For a rectangular $S$, the input must lie in the row span of $S$; otherwise the function reports an error. Applying toEpsilon to the result recovers $v$.

i1 : S = simpleRootsB 3

o1 = | 1 -1 0  |
     | 0 1  -1 |
     | 0 0  1  |

              3       3
o1 : Matrix ZZ  <-- ZZ
i2 : fromEpsilon(S, {1,1,0})   -- epsilon_1 + epsilon_2, a long root

o2 = {1, 2, 2}

o2 : List
i3 : fromEpsilon(S, {1,0,0})   -- epsilon_1, a short root

o3 = {1, 1, 1}

o3 : List
i4 : toEpsilon(S, fromEpsilon(S, {2,-1,0}))

o4 = {2, -1, 0}

o4 : List

The first two converted coordinate lists $(1,2,2)$ and $(1,1,1)$ express $\varepsilon_1+\varepsilon_2$ and $\varepsilon_1$ in the $B_3$ simple-root basis. The final $(2,-1,0)$ verifies that the two coordinate changes recover the original Euclidean vector.

See also

For the programmer

The object fromEpsilon 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:4589:0.