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
|