Ask Your Question
1

Can sage compute the Minkowski sum of two cones?

asked 8 years ago

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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 8 years ago

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
Preview: (hide)
link

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: 8 years ago

Seen: 545 times

Last updated: Aug 14 '16