GenZonotope {volesti} | R Documentation |
This function can be used to generate a random d-dimensional zonotope defined by the Minkowski sum of m d-dimensional segments. We consider m random directions in R^d and for each direction we pick a random length in [(,√{d}] in order to define m segments.
GenZonotope(dimension, NumGen)
dimension |
The dimension of the zonotope. |
NumGen |
The number of segments that generate the zonotope. |
A polytope class representing a zonotope.
# generate a 10-dimensional zonotope defined by the Minkowski sum of 20 segments P = GenZonotope(10, 20)