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
Usage:
B = sublatticeBasis M
B = sublatticeBasis P
Inputs:
M
,
a
matrix
, over
ZZ
with each column representing a sublattice generator
P
,
a
convex polyhedron
Outputs:
B
,
a
matrix
, A matrix over
ZZ
containing a sublattice basis
Description
sublatticeBasis
computes a basis for the sublattice generated by the columns of
M
or by the lattice points of
P
.
P = convexHull transpose matrix {{0,0,0},{1,0,0},{0,1,0},{1,1,3}}
sublatticeBasis P
Ways to use
sublatticeBasis
:
sublatticeBasis(Matrix)
sublatticeBasis(Polyhedron)