r = rankGeneratingFunction P
r = rankGeneratingFunction(P, VariableName => symbol)
The rank generating function of $P$ is the polynomial with the coefficient of $q^i$ given by the number of vertices in rank $i$ of $P$.
The rank generating function of the $n$ chain is $q^{n-1} + \cdots + q + 1$.
|
|
The rank generating function of the $n$ booleanLattice is $(q+1)^n$.
|
The object rankGeneratingFunction is a method function with options.