|
| template<typename U = Scalar> |
| double | volume () const |
| | Computes the volume of the interval matrix.
|
| bool | is_empty () const |
| | Checks whether the interval matrix is empty.
|
| template<typename U = Scalar> |
| auto | lb () const |
| | Returns a matrix containing the lower bounds of each interval element.
|
| template<typename U = Scalar> |
| auto | ub () const |
| | Returns a matrix containing the upper bounds of each interval element.
|
| template<typename U = Scalar> |
| auto | mid () const |
| | Returns a matrix containing the midpoints of each interval element.
|
| template<typename U = Scalar> |
| auto | mag () const |
| | Returns a matrix containing the magnitudes of each interval element.
|
| template<typename U = Scalar> |
| auto | mig () const |
| | Returns a matrix containing the mignitudes of each interval element.
|
| template<typename U = Scalar> |
| auto | smag () const |
| | Returns a matrix containing the signed magnitudes of each interval element.
|
| template<typename U = Scalar> |
| auto | smig () const |
| | Returns a matrix containing the signed mignitudes of each interval element.
|
| template<typename U = Scalar> |
| auto | rand () const |
| | Returns a matrix with random values chosen inside each interval element.
|
| template<typename U = Scalar> |
| auto | rad () const |
| | Returns a matrix containing the radii of each interval element.
|
| template<typename U = Scalar> |
| auto | diam () const |
| | Returns a matrix containing the diameters of each interval element.
|
| double | min_rad () const |
| | Returns the minimum radius among the interval elements.
|
| double | max_rad () const |
| | Returns the maximum radius among the interval elements.
|
| double | min_diam () const |
| | Returns the minimum diameter among the interval elements.
|
| double | max_diam () const |
| | Returns the maximum diameter among the interval elements.
|
| Index | min_diam_index () const |
| | Returns the index of the element with the minimum diameter.
|
| Index | max_diam_index () const |
| | Returns the index of the element with the maximum diameter.
|
| Index | extr_diam_index (bool min) const |
| | Returns the index of the element with the minimum or maximum diameter.
|
| bool | contains (const Matrix< double, RowsAtCompileTime, ColsAtCompileTime > &x) const |
| | Checks if this interval matrix contains the specified matrix x.
|
| template<typename OtherDerived> |
| bool | contains (const MatrixBase< OtherDerived > &x) const |
| | Template version to check containment of a matrix with arbitrary derived type.
|
|
template<typename T> |
| bool | _contains (const T &x) const |
| | Internal helper function to check containment.
|
| bool | interior_contains (const Matrix< double, RowsAtCompileTime, ColsAtCompileTime > &x) const |
| | Checks if the interior of this interval matrix contains the specified matrix x.
|
| template<typename OtherDerived> |
| bool | interior_contains (const MatrixBase< OtherDerived > &x) const |
| | Template version to check interior containment of a matrix with arbitrary derived type.
|
|
template<typename T> |
| bool | _interior_contains (const T &x) const |
| | Internal helper function to check interior containment.
|
| bool | is_unbounded () const |
| | Checks if the interval matrix contains any unbounded intervals.
|
| bool | is_degenerated () const |
| | Checks if the interval matrix is degenerated.
|
| bool | is_flat () const |
| | Checks if the interval matrix is flat.
|
| bool | intersects (const Matrix< codac2::Interval, RowsAtCompileTime, ColsAtCompileTime > &x) const |
| | Checks whether this matrix intersects with another matrix of intervals.
|
| template<typename OtherDerived> |
| bool | intersects (const MatrixBase< OtherDerived > &x) const |
| | Checks whether this matrix intersects with another Eigen-compatible matrix.
|
|
template<typename OtherDerived> |
| bool | _intersects (const MatrixBase< OtherDerived > &x) const |
| | Internal helper that performs intersection checking.
|
| bool | is_disjoint (const Matrix< codac2::Interval, RowsAtCompileTime, ColsAtCompileTime > &x) const |
| | Checks if this matrix is disjoint with another matrix of intervals.
|
| template<typename OtherDerived> |
| bool | is_disjoint (const MatrixBase< OtherDerived > &x) const |
| | Checks if this matrix is disjoint with another matrix of compatible type.
|
|
template<typename OtherDerived> |
| bool | _is_disjoint (const MatrixBase< OtherDerived > &x) const |
| | Internal helper for disjointness checking.
|
| bool | overlaps (const Matrix< codac2::Interval, RowsAtCompileTime, ColsAtCompileTime > &x) const |
| | Checks whether this matrix overlaps with another.
|
| template<typename OtherDerived> |
| bool | overlaps (const MatrixBase< OtherDerived > &x) const |
| | Checks whether this matrix overlaps with another matrix of compatible type.
|
|
template<typename OtherDerived> |
| bool | _overlaps (const MatrixBase< OtherDerived > &x) const |
| | Internal helper to check overlap.
|
| bool | is_subset (const Matrix< codac2::Interval, RowsAtCompileTime, ColsAtCompileTime > &x) const |
| | Checks whether this matrix is a subset of another interval matrix.
|
| template<typename OtherDerived> |
| bool | is_subset (const MatrixBase< OtherDerived > &x) const |
| | Checks whether this matrix is a subset of another matrix (Eigen-compatible).
|
|
template<typename T> |
| bool | _is_subset (const T &x) const |
| | Internal helper for subset check.
|
| bool | is_strict_subset (const Matrix< codac2::Interval, RowsAtCompileTime, ColsAtCompileTime > &x) const |
| | Checks whether this matrix is a strict subset of another matrix.
|
| template<typename OtherDerived> |
| bool | is_strict_subset (const MatrixBase< OtherDerived > &x) const |
| | Checks whether this matrix is a strict subset of another matrix (Eigen-compatible).
|
|
template<typename T> |
| bool | _is_strict_subset (const T &x) const |
| | Internal helper for strict subset check.
|
| bool | is_interior_subset (const Matrix< codac2::Interval, RowsAtCompileTime, ColsAtCompileTime > &x) const |
| | Checks whether this matrix is an interior subset of another.
|
| template<typename OtherDerived> |
| bool | is_interior_subset (const MatrixBase< OtherDerived > &x) const |
| | Checks whether this matrix is an interior subset of another matrix (Eigen-compatible).
|
|
template<typename OtherDerived> |
| bool | _is_interior_subset (const MatrixBase< OtherDerived > &x) const |
| | Internal helper for interior subset checking.
|
| bool | is_strict_interior_subset (const Matrix< codac2::Interval, RowsAtCompileTime, ColsAtCompileTime > &x) const |
| | Checks whether this matrix is a strict interior subset of another matrix.
|
| template<typename OtherDerived> |
| bool | is_strict_interior_subset (const MatrixBase< OtherDerived > &x) const |
| | Checks whether this matrix is a strict interior subset of another Eigen-compatible matrix.
|
|
template<typename OtherDerived> |
| bool | _is_strict_interior_subset (const MatrixBase< OtherDerived > &x) const |
| | Internal helper for strict interior subset relation.
|
| bool | is_superset (const Matrix< codac2::Interval, RowsAtCompileTime, ColsAtCompileTime > &x) const |
| | Checks whether this matrix is a superset of another interval matrix.
|
| template<typename OtherDerived> |
| bool | is_superset (const MatrixBase< OtherDerived > &x) const |
| | Checks whether this matrix is a superset of another Eigen-compatible matrix.
|
|
template<typename OtherDerived> |
| bool | _is_superset (const MatrixBase< OtherDerived > &x) const |
| | Internal helper for superset check.
|
| bool | is_strict_superset (const Matrix< codac2::Interval, RowsAtCompileTime, ColsAtCompileTime > &x) const |
| | Checks whether this matrix is a strict superset of another matrix.
|
| template<typename OtherDerived> |
| bool | is_strict_superset (const MatrixBase< OtherDerived > &x) const |
| | Checks whether this matrix is a strict superset of an Eigen-compatible matrix.
|
|
template<typename OtherDerived> |
| bool | _is_strict_superset (const MatrixBase< OtherDerived > &x) const |
| | Internal helper for strict superset check.
|
| bool | is_bisectable () const |
| | Checks whether at least one interval in the matrix is bisectable.
|
| bool | has_integer_bounds () const |
| | Checks whether all intervals in the matrix have integer lower and upper bounds.
|
This class reuses some of the functions developed for ibex::IntervalMatrixBase. The original IBEX code is revised in modern C++ and adapted to the template structure proposed in Codac, based on the Eigen library. See ibex::IntervalMatrixBase (IBEX lib, author: Gilles Chabert)
This file is included in the declaration of Eigen::MatrixBase, thanks to the preprocessor token EIGEN_MATRIXBASE_PLUGIN. See: https://eigen.tuxfamily.org/dox/TopicCustomizing_Plugins.html and the file codac2_matrices.h
- Date
- 2024
- Author
- Simon Rohou, Gilles Chabert
- Copyright
- Copyright 2023 Codac Team
- License: GNU Lesser General Public License (LGPL)