p, a matrix, over QQ with only one column representing a point
Description
interiorPoint takes the vertices of the Polyhedron and computes the sum multiplied by 1/n, where n is the number of vertices.
i1 : P = cyclicPolytope(3,5)
o1 = {ambient dimension => 3 }
dimension of lineality space => 0
dimension of polyhedron => 3
number of facets => 6
number of rays => 0
number of vertices => 5
o1 : Polyhedron