Home Online Manual
Top
Back: hVector
Forward: interiorLatticePoints
FastBack:
FastForward:
Up: polymake_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.13.2.28 hilbertBasis

Procedure from library polymake.lib (see polymake_lib).

Usage:
hilbertBasis(c); c cone

Return:
intmat, the Hilbert basis of c intersected with Z^n

Example:
 
LIB "polymake.lib";
==> Welcome to polymake version
==> Copyright (c) 1997-2015
==> Ewgenij Gawrilow, Michael Joswig (TU Darmstadt)
==> http://www.polymake.org
intmat M[3][3]=
1,2,-1,
1,-1,2,
1,-1,-1;
cone c = coneViaPoints(M);
hilbertBasis(c);
==> polymake: used package 4ti2
==>   4ti2 -- A software package for algebraic, geometric and combinatorial p\
   roblems on linear spaces.
==>   Copyright by 4ti2 team.
==>   http://www.4ti2.de/
==> 
==> 1,1,0,
==> 1,-1,2,
==> 1,-1,-1,
==> 1,2,-1,
==> 1,1,-1,
==> 1,-1,1,
==> 1,0,0,
==> 1,0,1,
==> 1,0,-1,
==> 1,-1,0