Top
Back: minimalValue
Forward: nBoundaryLatticePoints
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.31 minkowskiSum

Syntax:
Polymake::minkowskiSum( polytope p, polytope q )
Polymake::minkowskiSum( polytope p, cone c )
Polymake::minkowskiSum( cone c, polytope q )
Polymake::minkowskiSum( cone c, cone d )
Assume:
same ambient dimension.
Type:
polytope
Purpose:
the Minkowski sum of the two input arguments.
Note:
The Minkowski sum of two cones is just the cone generated by their union.
Example:
 
  intmat M[3][4]=1,1,0,0, 1,0,1,0, 1,0,0,0;
  intmat N[3][4]=1,0,0,1, 1,-1,-1,-1, 1,0,0,0;
  polytope p = polytopeViaPoints(M);
  polytope q = polytopeViaPoints(N);
  polytope pq = Polymake::minkowskiSum(p,q);
  pq;

Top Back: minimalValue Forward: nBoundaryLatticePoints 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.