T = pModQInvariants DThis computes the cokernel of $A:\mathbb Z^r\longrightarrow\mathbb Z^r$ in integral Dynkin-label coordinates. The group is $\mathbb Z^{f}\oplus\bigoplus_d\mathbb Z/d\mathbb Z$, with $f$ given by "freeRank" and $d$ by "torsionInvariants". For the derived finite root system it is the usual $P/Q$. Supplementary realization directions invisible to Dynkin labels are not included, in any type. The result is independent of the chosen global form.
|
|
The output $((4),0,4)$ means $P/Q\cong\mathbb Z/4\mathbb Z$: there is one cyclic factor of order 4 and no free factor. This is not a list of weights; it describes the abelian group of their congruence classes.
The object pModQInvariants 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:12999:0.