Class representing a parallelepiped \(\mathbf{c} + \mathbf{A}\cdot[-1,1]^m\).
More...
|
| | Parallelepiped (const Vector &c, const Matrix &A) |
| | Constructs a n-parallelepiped object with a given center and shape matrix.
|
| std::vector< Vector > | vertices () const |
| | Computes the vertices of the parallelepiped.
|
| BoolInterval | contains (const Vector &v) const |
| | Checks if a given point is contained within the parallelepiped. The matrix A has to be square and invertible.
|
| BoolInterval | is_superset (const IntervalVector &x) const |
| | Checks if a given box is contained within the parallelepiped. The matrix A has to be square and invertible.
|
| Parallelepiped | operator& (const IntervalVector &x) const |
| | Computes the intersection of the parallelepiped with a given box. The matrix A has to be square and invertible.
|
| | Zonotope (const Vector &c, const Matrix &A) |
| | Constructs a n-zonotope object with a given center and shape matrix.
|
| bool | is_empty () const |
| | Checks if the zonotope is empty.
|
|
void | set_empty () |
| | Sets the zonotope to be empty.
|
| Index | size () const |
| | Outputs the size of the zonotope.
|
| IntervalVector | box () const |
| | Computes the axis-aligned bounding box of the zonotope.
|
| Zonotope | proj (const std::vector< Index > &indices) const |
| | Projects the Zonotope onto the subspace defined by the given indices.
|
| Zonotope | operator+ (const Zonotope &zonotope) const |
| | Computes the Minkowski sum of this Zonotope with another Zonotope.
|
| Zonotope | reduction (double o, bool invert=false) const |
| | Create a new zonotope englobing (*this) with at most \(n\times o\) columns (with \(n\) the dimension of the zonotope. Return a copy if the number of columns is already less than or equal to \(n\times o\). Note that \(o\) must be at least 1 (returns a parallelotope if \(o=1\)). The method is rather coarse and use a full pivot LU decomposition to determine the columns which are kept rather than more complex computations).
|
Class representing a parallelepiped \(\mathbf{c} + \mathbf{A}\cdot[-1,1]^m\).
This class represents a parallelepiped in n-dimensional space, defined by a center point \(\mathbf{c}\) and a shape matrix \(\mathbf{A}\).
A parallelepiped is a special case of a zonotope where the shape matrix \(\mathbf{A}\) has \(m\) columns with \(m \leqslant n\).