next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
MatrixRepToric :: teGetPolytope

teGetPolytope -- returns the Polytope associated to the ToricEmbedding

Synopsis

Description

teGetPolytopereturns the polytope used for building theToricEmbeddingTE.

i1 : S = QQ[s,t]; 
i2 : f0 = s^2+s^3*t; 
i3 : f1 = s^3*t^6+1; 
i4 : f2 = s*t^2+2*s^3*t^5; 
i5 : f3 = s^2+s^3*t^6; 
i6 : l = {f0,f1,f2,f3}; 
i7 : TE = newToricEmbedding(l); 
i8 : teGetPolytope TE 

o8 = {ambient dimension => 2           }
      dimension of lineality space => 0
      dimension of polyhedron => 2
      number of facets => 4
      number of rays => 0
      number of vertices => 4

o8 : Polyhedron

See also

Ways to use teGetPolytope :