codac 2.0.0
Loading...
Searching...
No Matches
codac2_ProjBase.h
1
9
10#pragma once
11
12#include <vector>
14
15namespace codac2
16{
27 {
28 protected:
29
40 ProjBase(const std::vector<Index>& proj_indices, const IntervalVector& y, double default_eps = 0.01);
41
57
73
88
96 Index y_max_diam_index(const IntervalVector& y) const;
97
98 protected:
99
100 const Index _n;
101 const std::vector<Index> _xi;
102 const IntervalVector _y;
103 const double _default_eps;
104 };
105}
ProjBase(const std::vector< Index > &proj_indices, const IntervalVector &y, double default_eps=0.01)
Constructs a ProjBase object.
Index y_max_diam_index(const IntervalVector &y) const
Returns the component in with the largest diameter, among the components of the complementary projec...
IntervalVector cart_prod_xy(const IntervalVector &x, const IntervalVector &y) const
Returns a full vector of dimension by merging the two input sub-vectors x and y, according to the pr...
IntervalVector extract_y(const IntervalVector &w) const
Extracts the complementary subvector from a full vector .
IntervalVector extract_x(const IntervalVector &w) const
Extracts the projected subvector from a full vector .
Definition codac2_OctaSym.h:21
Eigen::Matrix< Interval,-1, 1 > IntervalVector
Alias for a dynamic-size column vector of intervals.
Definition codac2_IntervalVector.h:25