next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
KustinMiller :: facets

facets -- The facets of a simplicial complex.

Synopsis

Description

Returns the facets of a complex represented as a List of lists of vars ring D.

i1 : K=QQ;
i2 : R=K[x_0..x_4];
i3 : I=ideal(x_0*x_1,x_1*x_2,x_2*x_3,x_3*x_4,x_4*x_0);

o3 : Ideal of R
i4 : D=idealToComplex I;
i5 : facets D

o5 = {x  x  , x  x  , x  x  , x  x  , x  x  }
       2  4    0  3    0  2    1  3    1  4

o5 : List

See also

  • Complex -- The class of all simplicial complexes.
  • Face -- The class of faces of simplicial complexes.
  • faces -- Returns the faces of a complex
  • idealToComplex -- Compute the Stanley-Reisner complex.
  • ring(Face) -- The underlying polynomial ring of a face.

Ways to use facets :

  • facets(Complex)