next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SimplicialComplexes :: vertices

vertices -- The vertices of a face of a simplicial complex.

Synopsis

Description

Returns a List with the vertices of a Face of a simplicial complex.

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

o3 : MonomialIdeal of R
i4 : D=simplicialComplex I

o4 = | x_2x_4 x_1x_4 x_1x_3 x_0x_3 x_0x_2 |

o4 : SimplicialComplex
i5 : fc=facets(D,useFaceClass=>true)

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

o5 : List
i6 : vertices fc#1

o6 = {x , x }
       1   4

o6 : List

See also

Ways to use vertices :

For the programmer

The object vertices is a method function.