Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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