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

# fullCyclicPolytope -- Cyclic polytope.

- Usage:
    `fullCyclicPolytope(d,R)`
- Inputs:
  - d, an integer, positive
  - R, a polynomial ring,
- Outputs:
  - C, an embedded complex,

## Description

Returns the full cyclic polytope of dimension d with vertices the variables of R. A coker grading is added to R via the vertices of the moment curve (if R already has a coker grading then a warning is displayed) and translated such that 0 lies in the interior of C.

    i1 : R=QQ[x_0..x_5]

    o1 = R

    o1 : PolynomialRing

    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

## See also

- boundaryCyclicPolytope -- The boundary complex of a cyclic polytope.

## Ways to use fullCyclicPolytope:

- `fullCyclicPolytope(ZZ,PolynomialRing)`
- `fullCyclicPolytope(ZZ,PolynomialRing,PolynomialRing)`

## For the programmer

The object fullCyclicPolytope is a method function.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/SRdeformations.m2:6187:0.