|
D.13.2.47 nHilbertBasis
Procedure from library polymake.lib (see polymake_lib).
- Usage:
- nHilbertBasis(c); c cone
- Return:
- int, the number of elements in 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);
nHilbertBasis(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/
==>
==> 10
|
|