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

## Synopsis

• Usage:
d = ambDim P
d = ambDim C
d = ambDim F
• Inputs:
• F, an instance of the type 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 = {ambient dimension => 2 } dimension of lineality space => 0 dimension of polyhedron => 1 number of facets => 2 number of rays => 0 number of vertices => 2 o1 : Polyhedron i2 : ambDim P o2 = 2

## Ways to use ambDim :

• "ambDim(PolyhedralObject)"

## For the programmer

The object ambDim is .