codac 2.1.2
Loading...
Searching...
No Matches
Inversion of sliced tubes

Functions

Interval codac2::SlicedTube< T >::invert (const T &y, const Interval &t) const
 Returns the interval inversion \(\left[[x]^{-1}([y])\right]\).
void codac2::SlicedTube< T >::invert (const T &y, std::vector< Interval > &v_t, const Interval &t) const
 Computes the set of continuous values of the inversion \([x]^{-1}([y])\).
Interval codac2::SlicedTube< T >::invert (const T &y, const SlicedTube< T > &v, const Interval &t) const
 Returns the optimal interval inversion \(\left[[x]^{-1}([y])\right]\).
void codac2::SlicedTube< T >::invert (const T &y, std::vector< Interval > &v_t, const SlicedTube< T > &v, const Interval &t) const
 Computes the set of continuous values of the optimal inversion \([x]^{-1}([y])\).

Detailed Description

Function Documentation

◆ invert() [1/4]

template<typename T>
Interval codac2::SlicedTube< T >::invert ( const T & y,
const Interval & t ) const
inline

Returns the interval inversion \(\left[[x]^{-1}([y])\right]\).

If the inversion results in several pre-images, their union is returned.

Parameters
yinterval codomain
t(optional) temporal domain on which the inversion will be performed
Returns
the hull of \([x]^{-1}([y])\)
784 {
785 return invert_common(y, t,
786 [this,&y](auto it, const Interval& t_) {
787 return this->slice(it)->invert(y, t_);
788 });
789 }
Tube represented over a sliced temporal domain.
Definition codac2_SlicedTube.h:38
std::shared_ptr< Slice< T > > slice(const std::list< TSlice >::iterator &it)
Returns the slice attached to a temporal iterator.
Definition codac2_SlicedTube.h:249

◆ invert() [2/4]

template<typename T>
void codac2::SlicedTube< T >::invert ( const T & y,
std::vector< Interval > & v_t,
const Interval & t ) const
inline

Computes the set of continuous values of the inversion \([x]^{-1}([y])\).

Parameters
yinterval codomain
v_tvector of the sub-tdomains \([t_k]\) for which \(\forall t\in[t_k] \mid x(t)\in[y], x(\cdot)\in[x](\cdot)\)
t(optional) temporal domain on which the inversion will be performed
813 {
814 return invert_common_subsets(y, v_t, t,
815 [this,&y](auto it, const Interval& t_) {
816 return this->slice(it)->invert(y, t_);
817 });
818 }

◆ invert() [3/4]

template<typename T>
Interval codac2::SlicedTube< T >::invert ( const T & y,
const SlicedTube< T > & v,
const Interval & t ) const
inline

Returns the optimal interval inversion \(\left[[x]^{-1}([y])\right]\).

The knowledge of the derivative tube \([v](\cdot)\) allows a finer inversion. If the inversion results in several pre-images, their union is returned.

Parameters
yinterval codomain
vderivative tube such that \(\dot{x}(\cdot)\in[v](\cdot)\)
t(optional) temporal domain on which the inversion will be performed
Returns
hull of \([x]^{-1}([y])\)
850 {
851 return invert_common(y, t,
852 [this,&v,&y](auto it, const Interval& t_) {
853 return this->slice(it)->invert(y, *v.slice(it), t_);
854 });
855 }

◆ invert() [4/4]

template<typename T>
void codac2::SlicedTube< T >::invert ( const T & y,
std::vector< Interval > & v_t,
const SlicedTube< T > & v,
const Interval & t ) const
inline

Computes the set of continuous values of the optimal inversion \([x]^{-1}([y])\).

The knowledge of the derivative tube \([v](\cdot)\) allows finer inversions.

Parameters
yinterval codomain
v_tvector of the sub-tdomains \([t_k]\) for which \(\forall t\in[t_k] \mid x(t)\in[y], x(\cdot)\in[x](\cdot), \dot{x}(\cdot)\in[v](\cdot)\)
vderivative tube such that \(\dot{x}(\cdot)\in[v](\cdot)\)
t(optional) temporal domain on which the inversion will be performed
887 {
888 return invert_common_subsets(y, v_t, t,
889 [this,&v,&y](auto it, const Interval& t_) {
890 return this->slice(it)->invert(y, *v.slice(it), t_);
891 });
892 }