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

ambDim -- ambient dimension of a Polyhedron, Cone or Fan

Description

ambDim returns the dimension of the ambient space either of the Polyhedron P, of the Cone C or the Fan F.
i1 : P = convexHull matrix{{1,0},{0,1}}

o1 = P

o1 : Polyhedron
i2 : ambDim P

o2 = 2

Ways to use ambDim:

  • ambDim(PolyhedralObject)

For the programmer

The object ambDim is a method function.


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