codac 2.0.0
Loading...
Searching...
No Matches
codac2_Zonotope.h
Go to the documentation of this file.
1
9
10#pragma once
11
12#include <vector>
13#include "codac2_Vector.h"
14#include "codac2_Matrix.h"
15
16using namespace std;
17
18namespace codac2
19{
29 {
30 public:
31
38 Zonotope(const Vector& z, const Matrix& A);
39
47 Zonotope proj(const std::vector<Index>& indices) const;
48
53
58
59 };
60}
Zonotope(const Vector &z, const Matrix &A)
Constructs a n-zonotope object with a given center and shape matrix.
Vector z
Center of the zonotope.
Definition codac2_Zonotope.h:52
Zonotope proj(const std::vector< Index > &indices) const
Projects the Zonotope onto the subspace defined by the given indices.
Matrix A
Shape matrix of the zonotope.
Definition codac2_Zonotope.h:57
Definition codac2_OctaSym.h:21
Eigen::Matrix< double,-1, 1 > Vector
Alias for a dynamically-sized column vector of doubles.
Definition codac2_Vector.h:24
Eigen::Matrix< double,-1,-1 > Matrix
Alias for a dynamic-size matrix of doubles.
Definition codac2_Matrix.h:26