|
codac 2.0.0
|
The following methods are valid for tubes defined for Interval or IntervalVector codomains. The returned values are integral enclosures of same type (respectively, Interval or IntervalVector). More...
Functions | |
| T | codac2::SlicedTube< T >::integral (const Interval &t) const |
| Returns an enclosure of the integrals of this tube from \(t_0\) to \([t]\). | |
| T | codac2::SlicedTube< T >::integral (const Interval &t1, const Interval &t2) const |
| Returns an enclosure of the integrals of this tube between the time intervals \([t_1]\) and \([t_2]\). | |
| std::pair< T, T > | codac2::SlicedTube< T >::partial_integral (const Interval &t) const |
| Returns lower and upper enclosures of the integrals of this tube \([x](\cdot)=[x^-(\cdot),x^+(\cdot)]\) from \(t_0\) to \([t]\). | |
| std::pair< T, T > | codac2::SlicedTube< T >::partial_integral (const Interval &t1, const Interval &t2) const |
| Returns lower and upper enclosures of the integrals of this tube \([x](\cdot)=[x^-(\cdot),x^+(\cdot)]\) between \([t_1]\) and \([t_2]\). | |
| SlicedTube< T > | codac2::SlicedTube< T >::primitive () const |
| Returns a primitive of this tube with zero initial condition. | |
| SlicedTube< T > | codac2::SlicedTube< T >::primitive (const T &x0) const |
| Returns a primitive of this tube with prescribed initial condition. | |
The following methods are valid for tubes defined for Interval or IntervalVector codomains. The returned values are integral enclosures of same type (respectively, Interval or IntervalVector).
| T codac2::SlicedTube< T >::integral | ( | const Interval & | t | ) | const |
Returns an enclosure of the integrals of this tube from \(t_0\) to \([t]\).
This method computes an enclosure of
\[ \left\{ \int_{t_0}^{\tau} [x](s)\,ds \;\middle|\; \tau\in[t] \right\}. \]
It is obtained from partial_integral(t) by taking the hull between the lower bound of the lower enclosure and the upper bound of the upper enclosure.
| t | temporal interval \([t]\) |
| T codac2::SlicedTube< T >::integral | ( | const Interval & | t1, |
| const Interval & | t2 ) const |
Returns an enclosure of the integrals of this tube between the time intervals \([t_1]\) and \([t_2]\).
This method computes an enclosure of
\[ \left\{ \int_{\tau_1}^{\tau_2} [x](s)\,ds \;\middle|\; \tau_1\in[t_1],\ \tau_2\in[t_2] \right\}. \]
The result is obtained by subtracting the partial integral enclosures at t1 and t2.
| t1 | first temporal interval \([t_1]\) |
| t2 | second temporal interval \([t_2]\) |
| std::pair< T, T > codac2::SlicedTube< T >::partial_integral | ( | const Interval & | t | ) | const |
Returns lower and upper enclosures of the integrals of this tube \([x](\cdot)=[x^-(\cdot),x^+(\cdot)]\) from \(t_0\) to \([t]\).
This method returns a pair \(([p^-],[p^+])\) such that:
\[ [p^-]\supset \left\{ \int_{t_0}^{\tau} x^-(s)\,ds \;\middle|\; \tau\in[t] \right\} \mathrm{~~and~~} [p^+]\supset \left\{\int_{t_0}^{\tau} x^+(s)\,ds \;\middle|\; \tau\in[t] \right\}. \]
This representation preserves more information than integral(t), which only returns the hull of these partial integral bounds.
| t | temporal interval \([t]\) |
| std::pair< T, T > codac2::SlicedTube< T >::partial_integral | ( | const Interval & | t1, |
| const Interval & | t2 ) const |
Returns lower and upper enclosures of the integrals of this tube \([x](\cdot)=[x^-(\cdot),x^+(\cdot)]\) between \([t_1]\) and \([t_2]\).
This method returns a pair obtained by subtracting the partial integral enclosures at t1 from those at t2. The returned pair \(([p^-],[p^+])\) is such that:
\[ [p^-]\supset \left\{ \int_{\tau_1}^{\tau_2} x^-(s)\,ds \;\middle|\; \tau_1\in[t_1],\ \tau_2\in[t_2] \right\}, \]
and
\[ [p^+]\supset \left\{\int_{\tau_1}^{\tau_2} x^+(s)\,ds \;\middle|\; \tau_1\in[t_1],\ \tau_2\in[t_2] \right\}. \]
| t1 | first temporal interval \([t_1]\) |
| t2 | second temporal interval \([t_2]\) |
|
inline |
Returns a primitive of this tube with zero initial condition.
This is a shorthand for primitive(x0) with \(x_0 = 0\).
In other words, the returned tube encloses solutions of
\[ \dot{p}(\cdot) \in [x](\cdot), \qquad p(t_0)=0. \]
|
inline |
Returns a primitive of this tube with prescribed initial condition.
This method constructs a tube p on the same temporal domain as this tube, imposes the initial condition \(p(t_0)=x_0\), and contracts p with this tube through the derivative relation using CtcDeriv.
In other words, the returned tube encloses solutions of
\[ \dot{p}(\cdot) \in [x](\cdot), \qquad p(t_0)=x_0. \]
| x0 | initial condition at \(t_0\) |