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

skeleton -- the n-skeleton of the simplicial complex D

Synopsis

Description

The 2-skeleton of the 5-simplex.
i1 : R = ZZ[a..f];
i2 : simplex = simplicialComplex{a*b*c*d*e*f}

o2 = | abcdef |

o2 : SimplicialComplex
i3 : skel = skeleton(2,simplex)

o3 = | def cef bef aef cdf bdf adf bcf acf abf cde bde ade bce ace abe bcd acd abd abc |

o3 : SimplicialComplex
i4 : fVector simplex

o4 = HashTable{-1 => 1}
               0 => 6
               1 => 15
               2 => 20
               3 => 15
               4 => 6
               5 => 1

o4 : HashTable
i5 : fVector skel

o5 = HashTable{-1 => 1}
               0 => 6
               1 => 15
               2 => 20

o5 : HashTable

See also

Ways to use skeleton :

For the programmer

The object skeleton is a method function.