Ask Your Question

Can sage compute the Minkowski sum of two cones?

asked 2016-08-14 21:44:39 +0200

done_with_fish gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-08-14 22:31:50 +0200

FrédéricC gravatar image

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
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-08-14 21:44:39 +0200

Seen: 443 times

Last updated: Aug 14 '16