Macaulay2 » Documentation
Packages » KacMoody » Command reference » allRoots » allRoots(Matrix,ZZ)
next | previous | forward | backward | up | index | toc

allRoots(Matrix,ZZ) -- Roots of a finite, affine, or indefinite Cartan matrix up to a height cutoff

Description

The two-argument form extends allRoots to general Kac-Moody types by truncating the infinite root system to roots of bounded height. The finite-type single-argument form enumerates all roots without truncation.

i1 : Ahyp = matrix{{2,-3},{-3,2}};

              2       2
o1 : Matrix ZZ  <-- ZZ
i2 : allRoots(Ahyp, 3)

o2 = | 1  0  |
     | 0  1  |
     | 1  1  |
     | 1  2  |
     | 2  1  |
     | -1 0  |
     | 0  -1 |
     | -1 -1 |
     | -1 -2 |
     | -2 -1 |

              10       2
o2 : Matrix ZZ   <-- ZZ

See also

Ways to use this method:

  • allRoots(Matrix,ZZ) -- Roots of a finite, affine, or indefinite Cartan matrix up to a height cutoff

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