next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
Macaulay2 web site
Polyhedra
::
ambDim
ambDim -- ambient dimension of a Polyhedron, Cone or Fan
Synopsis
Usage:
d = ambDim P
d = ambDim C
d = ambDim F
Inputs:
P
,
a
convex polyhedron
C
,
a
convex rational cone
F
,
an object of class
Fan
Outputs:
d
,
an
integer
, , the dimension of the ambient space
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)