L = weightsOfRep(A, lambda)L = weightsOfRep(A, lambda, WeightFormat => fmt)Finds all the weights of $V(\lambda)$ by the simple-root string method: starting from the highest weight, each root string through a known weight extends the set to include all strings predicted by the integrality condition $\langle\mu,\alpha_i^\vee\rangle \in \mathbb Z$.
|
|
|
Each pair is a Dynkin-label vector: {a,b} means $a\omega_1+b\omega_2$. The six nonzero entries are the roots and {0,0} is the zero weight. This function lists each distinct weight once; in the adjoint, the zero-weight space has dimension $2$, which can be checked with weightMultiplicity.
|
The object weightsOfRep is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:5479:0.