VpolytopeIntersection-class: An R class to represent the intersection of two V-polytopes

Description Details Examples

Description

An intersection of two V-polytopes is defined by the intersection of the two coresponding convex hulls.

Details

V1

An m\times d numerical matrix that contains the vertices of the first V-polytope (row-wise).

V2

An q\times d numerical matrix that contains the vertices of the second V-polytope (row-wise).

volume

The volume of the polytope if it is known, NaN otherwise by default.

type

A character with default value 'VpolytopeIntersection', to declare the representation of the polytope.

Examples

1
2
3
P1 = gen_simplex(2,'V')
P2 = gen_cross(2,'V')
P = VpolytopeIntersection(V1 = P1@V, V2 = P2@V)

volesti documentation built on July 14, 2021, 5:11 p.m.