 LIB "polymake.lib";
==> Welcome to polymake version
==> Copyright (c) 19972015
==> Ewgenij Gawrilow, Michael Joswig (TU Darmstadt)
==> http://www.polymake.org
// the lattice points of the unit square in the plane
list polygon=intvec(0,0),intvec(0,1),intvec(1,0),intvec(1,1);
// the secondary polytope of this lattice point configuration is computed
list secpoly=secondaryPolytope(polygon);
==> Evaluating Commandline Options ...
==> ... done.
==> 0
==> 0
// the points in the secondary polytope
print(secpoly[1]);
==> 1 2 2 1
==> 2 1 1 2
// the corresponding triangulations
secpoly[2];
==> [1]:
==> [1]:
==> 1,2,3
==> [2]:
==> 2,3,4
==> [2]:
==> [1]:
==> 1,3,4
==> [2]:
==> 1,2,4
