KazhdanLusztigPolynomialRing is the polynomial ring $\mathbb Z[q]$, not a separate kind of polynomial. The default outputs of kazhdanLusztigPolynomial belong to this ring. M2 displays the name of a polynomial's ring as its class, and ordinary polynomial operations apply. Use Variable=>t to obtain an answer in a polynomial ring of your own instead.
|
|
|
The polynomial is $q^2+2q+1=(q+1)^2$. Its class is KazhdanLusztigPolynomialRing because that is the name of its coefficient ring $\mathbb Z[q]$. The factorization is M2's usual polynomial factorization, with no conversion required.
The object KazhdanLusztigPolynomialRing is a polynomial ring, with ancestor classes RingElement < BasicList < Thing.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:18670:0.