Macaulay2 » Documentation
Packages » Polyhedra :: intersection
next | previous | forward | backward | up | index | toc

intersection -- computes the intersection of cones, and polyhedra

Synopsis

Description

If two polyhedra or two cones are inserted, then the intersection of both arguments is computed if both arguments lie in the same ambient space. If both arguments are cones then the output is again a cone. Otherwise intersection returns a polyhedron.

If intersection is called for a list L, then the list may contain a combination of the following in any order.
i1 : C = hypercube 2

o1 = C

o1 : Polyhedron
i2 : S = simplex 2

o2 = S

o2 : Polyhedron
i3 : CS = intersection(C,S)

o3 = CS

o3 : Polyhedron

Ways to use intersection :

For the programmer

The object intersection is a method function with options.