Macaulay2 » Documentation
Packages » AbstractSimplicialComplexes :: abstractSimplicialComplexFacets
next | previous | forward | backward | up | index | toc

# abstractSimplicialComplexFacets -- the facets of a simplicial complex

- Usage:
    `abstractSimplicialComplexFacets(K)`
- Inputs:
  - K, an abstract simplicial complex,
- Outputs:
  - the list of facets

## Description

This method returns the collection of facets of a given AbstractSimplicialComplex.

    i1 : K = abstractSimplicialComplex(3)

    o1 = AbstractSimplicialComplex{-1 => {{}}                   }
                                   0 => {{1}, {2}, {3}}
                                   1 => {{1, 2}, {1, 3}, {2, 3}}
                                   2 => {{1, 2, 3}}

    o1 : AbstractSimplicialComplex

    i2 : abstractSimplicialComplexFacets K

    o2 = {{1, 2, 3}}

    o2 : List

    i3 : facets K

    o3 = {{1, 2, 3}}

    o3 : List

## Ways to use abstractSimplicialComplexFacets:

- `abstractSimplicialComplexFacets(AbstractSimplicialComplex)`

## For the programmer

The object abstractSimplicialComplexFacets is a method function.

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