Macaulay2 » Documentation
Packages » SRdeformations :: isPolytope
next | previous | forward | backward | up | index | toc

isPolytope -- Check whether a complex is a polytope.

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:

  • isPolytope(Complex)
  • isPolytope(List)

For the programmer

The object isPolytope is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/SRdeformations.m2:6300:0.