next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SRdeformations :: isPolytope

isPolytope -- Check whether a complex is a polytope.

Synopsis

Description

Check whether a complex C is a polytope.

i1 : R=QQ[x_0..x_5];
i2 : C=fullCyclicPolytope(3,R)

o2 = 3: x x x x x x  
         0 1 2 3 4 5

o2 : complex of dim 3 embedded in dim 3 (printing facets)
     equidimensional, non-simplicial, F-vector {1, 6, 12, 8, 1}, Euler = 0
i3 : isPolytope C

o3 = true

Ways to use isPolytope :

For the programmer

The object isPolytope is a method function.