#[non_exhaustive]pub enum Restructure {
Off,
Lift,
}Expand description
What becomes of the generators that order reduction and the linear step make independent.
Non-exhaustive: more restructurings may be added.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Off
They stay independent generators. Their products in the next step’s
quadratic error are enclosed one by one, so a wide set loses some of
its shape step by step. The default: the time-interval hull pairs
each independent generator with its image, which keeps most of that
shape, and Lift costs more for little gain.
Lift
After each step’s Girard reduction, every independent generator of
the time-point set becomes a dependent factor of its own. That is
exact (g β with β ∈ [-1, 1] is the monomial g α of a factor
nowhere else), and from then on the quadratic maps of later steps
treat it as a polynomial: α² stays non-negative and products
cancel. Where nothing merges, it costs 1.5 to 1.7 times as much as
Off (40 steps of Van der Pol from radius 0.5). The number
of factors stays at most the number of generators, since
compact drops the
unused ones.
The gain is small: on Van der Pol from radius 0.5, polynomialization
ends 40 steps 3% narrower than with Off, and from
radius 1 it proves 26 steps instead of 25. On the damped cubic
x₀' = −x₀ − x₀³ from radius 1, both need 6 pieces, and the lifted
sets end 31% wider; but lifted pieces merge back to 3, where
unlifted ones stay apart, so that run takes 4.6 s instead of 6.8 s.
Trait Implementations§
Source§impl Clone for Restructure
impl Clone for Restructure
impl Copy for Restructure
Source§impl Debug for Restructure
impl Debug for Restructure
Source§impl Default for Restructure
impl Default for Restructure
impl Eq for Restructure
Source§impl PartialEq for Restructure
impl PartialEq for Restructure
impl StructuralPartialEq for Restructure
Auto Trait Implementations§
impl Forget for Restructure
impl Freeze for Restructure
impl Move for Restructure
impl RefUnwindSafe for Restructure
impl Send for Restructure
impl Sync for Restructure
impl Unpin for Restructure
impl UnsafeUnpin for Restructure
impl UnwindSafe for Restructure
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.