Ask Your Question
0

Can sage compute the Minkowski sum of two cones?

asked 2016-08-14 14:44:39 -0500

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
1

answered 2016-08-14 15:31:50 -0500

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

Stats

Asked: 2016-08-14 14:44:39 -0500

Seen: 46 times

Last updated: Aug 14 '16