up previous next
Latte.Ehrhart

Computes the ehrhart series as a rational function for a polyhedral P given by a number of linear constraints.
Syntax
          
Latte.Ehrhart(Equations: LIST, LesserEq: LIST, GreaterEq: LIST):RATFUN
Latte.Ehrhart(Equations: LIST, LesserEq: LIST, GreaterEq: LIST, Degree: INT):RATFUN

          

Description
Please note: The function(s) explained on this page is/are using the ApCoCoAServer. You will have to start the ApCoCoAServer in order to use it/them. The following parameter is optional:

Example
Use S ::= QQ[x,y];
Equations := [];
LesserEq := [x-1, x+y-1];
GreaterEq := [x,y];
Latte.Ehrhart(Equations, LesserEq, GreaterEq);

-1/(x^3 - 3x^2 + 3x - 1)
-------------------------------