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

nVertices -- Returns the number of vertices of a polyhedron

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:

  • nVertices(Polyhedron)

For the programmer

The object nVertices is a method function.


The source of this document is in Polyhedra/documentation/documentation.m2:597:0.