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

interiorVector -- computes a vector in the relative interior of a Cone

Synopsis

Description

interiorVector takes the rays of the Cone, computes the sum and divides by the gcd to get a primitive vector.
i1 : P = cyclicPolytope(3,4)

o1 = P

o1 : Polyhedron
i2 : C = coneFromVData P

o2 = C

o2 : Cone
i3 : interiorVector C

o3 = | 3  |
     | 6  |
     | 14 |

              3        1
o3 : Matrix ZZ  <--- ZZ

Ways to use interiorVector :

For the programmer

The object interiorVector is a method function.