Macaulay2 » Documentation
Packages » Polyhedra :: interiorPoint
next | previous | forward | backward | up | index | toc

interiorPoint -- computes a point in the relative interior of the Polyhedron

Synopsis

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 = P

o1 : Polyhedron
i2 : interiorPoint P

o2 = | 2  |
     | 6  |
     | 20 |

              3       1
o2 : Matrix QQ  <-- QQ

Ways to use interiorPoint:

For the programmer

The object interiorPoint is a method function.