next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Polyhedra :: nVertices

nVertices -- Returns the number of vertices of a polyhedron

Synopsis

Description

Returns the number of vertices of a polyhedron

i1 : C = hypercube 2

o1 = C

o1 : Polyhedron
i2 : nVertices C

o2 = 4

Ways to use nVertices :