Macaulay2 » Documentation
Packages » Polyhedra :: nVertices
next | previous | forward | backward | up | index | toc

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 :

For the programmer

The object nVertices is a method function.