Can sage compute the Minkowski sum of two cones?
The Minkowski sum of two cones C1 and C2 is
C1 + C2 = {x + y | x in C1, y in C2}
Is there a method in sage that computes C1+C2?
The Minkowski sum of two cones C1 and C2 is
C1 + C2 = {x + y | x in C1, y in C2}
Is there a method in sage that computes C1+C2?
Like that
sage: C1=Cone(rays=[[0,1]])
sage: C2=Cone(rays=[[1,0]])
sage: C1.polyhedron()+C2.polyhedron()
A 2-dimensional polyhedron in ZZ^2 defined as the convex hull of 1 vertex and 2 rays
Asked: 8 years ago
Seen: 545 times
Last updated: Aug 14 '16