next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
SimplicialComplexes :: faces(SimplicialComplex)

faces(SimplicialComplex) -- Compute all faces of a simplicial complex.

Synopsis

Description

Return a list of lists of the faces of a simplicial complex.

i1 : K=QQ;
i2 : R=K[x_1..x_5];
i3 : C=simplicialComplex monomialIdeal (x_1*x_2,x_3*x_4*x_5)

o3 = | x_2x_4x_5 x_1x_4x_5 x_2x_3x_5 x_1x_3x_5 x_2x_3x_4 x_1x_3x_4 |

o3 : SimplicialComplex
i4 : fc=faces(C,useFaceClass=>true)

o4 = MutableHashTable{...4...}

o4 : MutableHashTable
i5 : fc#2

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

o5 : List