i1 : P = convexHull transpose matrix {{0,0,0},{1,0,0},{0,1,0},{1,1,3}}
o1 = P
o1 : Polyhedron
|
i2 : ehrhart P
1 3 2 3
o2 = -x + x + -x + 1
2 2
o2 : QQ[x]
|
The object ehrhart is a method function.