poiFile-class {rPorta} | R Documentation |
Encapsulates PORTA files describing polyhedra in PORTA's poi file format.
A poiFile
object holds three slots.
convex_hull
:convex_cone
:strong_validity
:dim
computes the dimension of the convex hull and the convex cone
of a given set of points by using a gaussian elimination algorithm.
Moreover, in the case that the input system is not full dimensional, dim
displays the
equations satisfied by the system.
Class "portaFile"
, directly.
Robin Nunkesser Robin.Nunkesser@tu-dortmund.de
# Show the definition of example.poi to provide an example example.poi # A second example hull <- as.poi(matrix(1:30,ncol=3)) cone <- new("poi", num=matrix(c(0,0,2), nrow=1,ncol=3), den=matrix(c(1,1,3),nrow=1,ncol=3)) poiFileExample<-new("poiFile", convex_hull=hull, convex_cone=cone)