next | previous | forward | backward | up | top | index | toc | Macaulay2 website
OldPolyhedra :: polar

polar -- computes the polar of a polyhedron

Synopsis

Description

The polar polyhedron of P in n-space is the polyhedron in the dual space given by {v in (QQ^n)^* | v*p >= -1 for all p in P}.

i1 : P = hypercube 3

o1 = {ambient dimension => 3           }
      dimension of lineality space => 0
      dimension of polyhedron => 3
      number of facets => 6
      number of rays => 0
      number of vertices => 8

o1 : Polyhedron
i2 : Q = polar P

o2 = {ambient dimension => 3           }
      dimension of lineality space => 0
      dimension of polyhedron => 3
      number of facets => 8
      number of rays => 0
      number of vertices => 6

o2 : Polyhedron
i3 : Q == crossPolytope 3

o3 = true

Ways to use polar :

For the programmer

The object polar is a method function.