Vpolytope-class: An R class to represent a V-polytope

Vpolytope-classR Documentation

An R class to represent a V-polytope

Description

A V-polytope is a convex polytope defined by the set of its vertices.

Details

V

An m\times d numerical matrix that contains the vertices row-wise.

volume

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

type

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

Examples

V = matrix(c(2,3,-1,7,0,0),ncol = 2, nrow = 3, byrow = TRUE)
P = Vpolytope(V = V)


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