codac 2.0.0
|
Class representing a parallelepiped \(\mathbf{z} + \mathbf{A}\cdot[-1,1]^m\). More...
#include <codac2_Parallelepiped.h>
Public Member Functions | |
Parallelepiped (const Vector &z, const Matrix &A) | |
Constructs a n-parallelepiped object with a given center and shape matrix. | |
Zonotope | proj (const std::vector< Index > &indices) const |
Projects the parallelepiped onto the subspace defined by the given indices. | |
std::vector< Vector > | vertices () const |
Computes the vertices of the parallelepiped. | |
IntervalVector | box () const |
Computes the axis-aligned bounding box of the parallelepiped. | |
![]() | |
Zonotope (const Vector &z, const Matrix &A) | |
Constructs a n-zonotope object with a given center and shape matrix. | |
Additional Inherited Members | |
![]() | |
Vector | z |
Center of the zonotope. | |
Matrix | A |
Shape matrix of the zonotope. | |
Class representing a parallelepiped \(\mathbf{z} + \mathbf{A}\cdot[-1,1]^m\).
This class represents a parallelepiped in n-dimensional space, defined by a center point \(\mathbf{z}\) 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\).
Constructs a n-parallelepiped object with a given center and shape matrix.
z | Center of the parallelepiped (n-dimensional vector) |
A | Shape matrix of the parallelepiped ( \(n\times m\) matrix with \(m \leqslant n\)) |
Zonotope codac2::Parallelepiped::proj | ( | const std::vector< Index > & | indices | ) | const |
std::vector< Vector > codac2::Parallelepiped::vertices | ( | ) | const |
Computes the vertices of the parallelepiped.
IntervalVector codac2::Parallelepiped::box | ( | ) | const |
Computes the axis-aligned bounding box of the parallelepiped.