up previous next
Latte.Count

Counts the lattice points of a polyhedral given by a number of linear constraints.
Syntax
          
Latte.Count(Equations: LIST, LesserEq: LIST, GreaterEq: LIST):INT
Latte.Count(Equations: LIST, LesserEq: LIST, GreaterEq: LIST, Dil: INT):INT

          

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: IMPORTANT: If the given polyhedral is unbound, the output of LattE is zero, as for an empty polyhedral.

Example
Use S ::= QQ[x,y];
Equations := [];
LesserEq := [1/2*x-1, x+1/3y-1];
GreaterEq := [x,y];
Latte.Count(Equations, LesserEq, GreaterEq);

5
-------------------------------