Can the H_STAR_VECTOR be computed for rational polytopes?
Posted: 16 Aug 2016, 02:20
This wikipedia entry
https://en.wikipedia.org/wiki/Ehrhart_p ... _polytopes
defines the h_star polynomial of a rational polytope. I have the following example:
However, computing the h_star vector by hand gives
Is this a bug or am I doing something wrong?
https://en.wikipedia.org/wiki/Ehrhart_p ... _polytopes
defines the h_star polynomial of a rational polytope. I have the following example:
Code: Select all
polytope > $A = new Matrix<Rational>([[1,0,0],[1,0,2],[1,1,1],[1,3/2,0]]);
polytope > $p = new Polytope(POINTS => $A);
polytope > print $p -> VERTICES;
1 0 0
1 0 2
1 1 1
1 3/2 0
polytope > print $p -> H_STAR_VECTOR;
1 3 3Code: Select all
3*t^4 + 9*t^3 + 10*t^2 + 5*t + 1