|
codac 2.0.0
|
#include <codac2_DiffInclusion.h>
Public Member Functions | |
| template<bool forward = true, bool end_gate = false> | |
| X | approx_RK4 (const Interval &time_step, const X &init, const U &u) |
| approximation of IVP on a step using RK4. Does not return a guaranteed result, used for approximate enclosing | |
| IntervalVector | f_eval (const EvalMode &m, const Interval &t, const IntervalVector &x, const IntervalVector &u) const override |
| basic enclosing step | |
diffential inclusion x' = f(x,u) or f(t,x,u). x and u can be scalar, interval or matrix. For practical reasons (on the interface), we consider exactly one u. (TODO: lift this restriction ?)
|
inline |
approximation of IVP on a step using RK4. Does not return a guaranteed result, used for approximate enclosing
| time_step | time stem (backward or forward) |
| init | initial values |
| u | uncertainties |
|
inlineoverride |
basic enclosing step
| time_step | time stem (backward or forward) |
| init_domain | initial values |
| in_domain | inside values (may be contracted) |
| out_gate | final values (may be contracted) |
| u | uncertainties |
| inflation_ratio | inflation ratio (default 0.1) |
| inflation_base | inflation base (default 1e-2) |
| attempts | max number of attempts (default 3) |