f-vector
print $p->F_VECTOR;
Hypersimplex
For n > d ≥ 2, constructs a hypersimplex:
$p=hypersimplex(d,n);
Intersection
To assign $c as the intersection of two polytopes $a and $b that have been previously defined, run
$c = intersection($a,$b);
Lattice points
To see the number of lattice points, run
print $p->N_LATTICE_POINTS;
To see the coordinates of the lattice points of polytope $p, run
print $p->LATTICE_POINTS;
Minkowski Sum
To build the Minkowski sum of polytopes $a and $b, and store the result as $c, run
$c = minkowski_sum($a,$b);