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 \([(,\sqrt{d}]\) in order to define \(m\) segments.
Usage
GenZonotope(dimension, NumGen)
Arguments
dimension
The dimension of the zonotope.
NumGen
The number of segments that generate the zonotope.