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

D.13.1.58 vertices

Procedure from library gfan.lib (see gfan_lib).

Usage:
vertices(p); p polytope

Return:
bigintmat, the vertices of p modulo its lineality space

Example:
 
LIB "gfan.lib";
intmat M[4][3]=
1,0,0,
1,2,0,
1,0,2,
1,2,2,
1,1,1;
polytope p=polytopeViaPoints(M);
vertices(p);
==> 1,2,0,
==> 1,0,0,
==> 1,0,2,
==> 1,2,2