next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Polyhedra :: minFace

minFace -- computes the face of a Polyhedron or Cone where a weight attains its minimum

Synopsis

Description

minFace computes the face of the given Polyhedron P or Cone C where w attains its minimum.

i1 : P = hypercube 3

o1 = P

o1 : Polyhedron
i2 : w = matrix {{1},{2},{0}}

o2 = | 1 |
     | 2 |
     | 0 |

              3        1
o2 : Matrix ZZ  <--- ZZ
i3 : F = minFace(w,P)

o3 = F

o3 : Polyhedron
i4 : vertices F

o4 = | -1 -1 |
     | -1 -1 |
     | -1 1  |

              3        2
o4 : Matrix QQ  <--- QQ

Ways to use minFace :

For the programmer

The object minFace is a method function.