Learn R Programming

volesti (version 1.1.2-9)

Zonotope-class: An R class to represent a Zonotope

Description

A zonotope is a convex polytope defined by the Minkowski sum of \(m\) \(d\)-dimensional segments.

Arguments

Details

G

An \(m\times d\) numerical matrix that contains the segments (or generators) row-wise

volume

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

type

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

Examples

Run this code
G = matrix(c(2,3,-1,7,0,0),ncol = 2, nrow = 3, byrow = TRUE)
P = Zonotope(G = G)
 

Run the code above in your browser using DataLab