powered by
An intersection of two V-polytopes is defined by the intersection of the two coresponding convex hulls.
An \(m\times d\) numerical matrix that contains the vertices of the first V-polytope (row-wise).
An \(q\times d\) numerical matrix that contains the vertices of the second V-polytope (row-wise).
The volume of the polytope if it is known, \(NaN\) otherwise by default.
A character with default value 'VpolytopeIntersection', to declare the representation of the polytope.
P1 = gen_simplex(2,'V') P2 = gen_cross(2,'V') P = VpolytopeIntersection(V1 = P1@V, V2 = P2@V)
Run the code above in your browser using DataLab