Top
Back: maximalFace
Forward: minimalFace
FastBack: SINGULAR libraries
FastForward: Release Notes
Up: polymake_so
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.16.1.28 maximalValue

Syntax:
Polymake::maximalValue( polytope p, intvec v )
Assume:
v lies in the negative dual tail cone of p.
Type:
int
Purpose:
the maximal value of the linear form v on p.
Note:
The first coordinate of v corresponds to a shift of the maximal value since p is considered as a polytope in the plane (first coordinate) = 1.
Example:
 
  intmat M[3][3]=1,1,0, 1,0,1, 1,-1,-1;
  intvec v = 0,1,1;
  polytope p = polytopeViaPoints(M);
  Polymake::maximalValue(p,v);
  v = -5,1,1;
  Polymake::maximalValue(p,v);

Top Back: maximalFace Forward: minimalFace FastBack: SINGULAR libraries FastForward: Release Notes Up: polymake_so Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.