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

VpolytopeIntersection-classR Documentation

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

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

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


volesti documentation built on Sept. 19, 2023, 5:08 p.m.