ZonoOpt 2.5.0
Loading...
Searching...
No Matches
Namespaces | Functions
Box.cpp File Reference
#include <algorithm>
#include <cmath>
#include <ostream>
#include <set>
#include <stdexcept>
#include <string>
#include <sstream>
#include <utility>
#include <vector>
#include "Eigen/Dense"
#include "Eigen/Sparse"
#include "zonoopt/Box.hpp"
#include "zonoopt/Defines.hpp"
#include "zonoopt/Interval.hpp"
#include "zonoopt/SparseMatrixUtilities.hpp"

Namespaces

namespace  ZonoOpt
 

Functions

Box ZonoOpt::affine_map (const Box &Z, const Eigen::SparseMatrix< zono_float > &R, const Eigen::Vector< zono_float, -1 > &s=Eigen::Vector< zono_float, -1 >())
 Returns affine map R*Z + s of box Z.
 
Box ZonoOpt::cartesian_product (const Box &Z1, const Box &Z2)
 Computes the Cartesian product of two boxes Z1 and Z2.
 
Box ZonoOpt::intersection (const Box &Z1, const Box &Z2, const Eigen::SparseMatrix< zono_float > &R=Eigen::SparseMatrix< zono_float >(), int contractor_iter=10)
 Computes the generalized intersection of boxes Z1 and Z2 over the matrix R.
 
Box ZonoOpt::intersection_over_dims (const Box &Z1, const Box &Z2, const std::vector< int > &dims)
 Computes the intersection of boxes Z1 and Z2 over the specified dimensions.
 
Box ZonoOpt::interval_hull (const Box &Z1, const Box &Z2)
 Computes the interval hull of two boxes.
 
Box ZonoOpt::interval_hull (const std::vector< Box > &boxes)
 Computes the interval hull of several boxes.
 
Box ZonoOpt::minkowski_sum (const Box &Z1, const Box &Z2)
 Computes the Minkowski sum of two boxes Z1 and Z2.
 
Box ZonoOpt::operator* (const Eigen::Matrix< zono_float, -1, -1 > &A, const Box &box)
 
Box ZonoOpt::operator* (const Eigen::SparseMatrix< zono_float, Eigen::RowMajor > &A, const Box &box)
 
Box ZonoOpt::operator* (const Eigen::Vector< zono_float, -1 > &v, const Box &box)
 
Box ZonoOpt::operator* (const Interval &interval, const Box &box)
 
Box ZonoOpt::operator* (zono_float alpha, const Box &box)
 
Box ZonoOpt::operator+ (const Eigen::Vector< zono_float, -1 > &v, const Box &box)
 
Box ZonoOpt::operator- (const Eigen::Vector< zono_float, -1 > &v, const Box &box)
 
Box ZonoOpt::operator/ (const Interval &interval, const Box &box)
 
Box ZonoOpt::operator/ (zono_float alpha, const Box &box)
 
std::ostream & ZonoOpt::operator<< (std::ostream &os, const Box &box)
 
Box ZonoOpt::pontry_diff (const Box &Z1, const Box &Z2)
 Computes the Pontryagin difference Z1 - Z2 of two boxes.
 
Box ZonoOpt::project_onto_dims (const Box &Z, const std::vector< int > &dims)
 Projects box Z onto the dimensions specified in dims.