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

## Synopsis

• Usage:
p = interiorVector C
• Inputs:
• Outputs:
• p, , over QQ with only one column representing a vector

## 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 = {ambient dimension => 3 } dimension of lineality space => 0 dimension of polyhedron => 3 number of facets => 4 number of rays => 0 number of vertices => 4 o1 : Polyhedron i2 : C = posHull P o2 = {ambient dimension => 3 } dimension of lineality space => 0 dimension of the cone => 3 number of facets => 3 number of rays => 3 o2 : Cone i3 : interiorVector C o3 = | 3 | | 6 | | 14 | 3 1 o3 : Matrix ZZ <--- ZZ

## Ways to use interiorVector :

• "interiorVector(Cone)"

## For the programmer

The object interiorVector is .