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

KazhdanLusztigPolynomialRing -- The ordinary integer polynomial ring used for default Kazhdan--Lusztig answers

Description

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.

i1 : q = kazhdanLusztigVariable();
i2 : P = q^2+2*q+1;
i3 : (P,factor P,class P)

       2                  2
o3 = (q  + 2q + 1, (q + 1) , KazhdanLusztigPolynomialRing)

o3 : Sequence

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.

See also

For the programmer

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.