z = degreePolynomial P
The degree polynomial of $P$ is the sum over elements $v$ of $x^{\operatorname{in}(v)} y^{\operatorname{out}(v)}$, when the exponents are the incoming and outgoing valences of $v$ in the Hasse diagram.
This polynomial is multiplicative for Cartesian product of posets.
|
|
The object degreePolynomial is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Posets.m2:5415:0.