next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
Macaulay2 web site
Polyhedra
::
interiorLatticePoints
interiorLatticePoints -- computes the lattice points in the relative interior of a polytope
Synopsis
Usage:
L = interiorLatticePoints P
Inputs:
P
,
a
convex polyhedron
, which must be compact
Outputs:
L
,
a
list
, containing the interior lattice points as matrices over
ZZ
with only one column
Description
latticePoints
can only be applied to polytopes, i.e. compact polyhedra. It returns all lattice points in the relative interior of the polytope.
P = crossPolytope(3,2)
interiorLatticePoints P
Q = cyclicPolytope(2,4)
interiorLatticePoints Q
Ways to use
interiorLatticePoints
:
interiorLatticePoints(Polyhedron)