next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Polyhedra :: sublatticeBasis

sublatticeBasis -- computes a basis for the sublattice generated by integral vectors or the lattice points of a polytope

Synopsis

Description

sublatticeBasis computes a basis for the sublattice generated by the columns ofM or by the lattice points ofP.

P = convexHull transpose matrix {{0,0,0},{1,0,0},{0,1,0},{1,1,3}}
sublatticeBasis P

Ways to use sublatticeBasis :