pub struct Solution<S, const D: usize>where
S: Integrator<D>,{
pub integrator: S,
pub times: Vec<f64>,
pub states: Vec<SVector<f64, D>>,
pub dense: Vec<Vec<SVector<f64, D>>>,
}Fields§
§integrator: S§times: Vec<f64>§states: Vec<SVector<f64, D>>§dense: Vec<Vec<SVector<f64, D>>>Implementations§
Source§impl<S, const D: usize> Solution<S, D>where
S: Integrator<D>,
impl<S, const D: usize> Solution<S, D>where
S: Integrator<D>,
pub fn interpolate(&self, t: f64) -> SVector<f64, D>
Auto Trait Implementations§
impl<S, const D: usize> Freeze for Solution<S, D>
impl<S, const D: usize> RefUnwindSafe for Solution<S, D>where
S: RefUnwindSafe,
Vec<Matrix<f64, Const<D>, Const<1>, ArrayStorage<f64, D, 1>>>: RefUnwindSafe,
Vec<Vec<Matrix<f64, Const<D>, Const<1>, ArrayStorage<f64, D, 1>>>>: RefUnwindSafe,
impl<S, const D: usize> Send for Solution<S, D>
impl<S, const D: usize> Sync for Solution<S, D>
impl<S, const D: usize> Unpin for Solution<S, D>
impl<S, const D: usize> UnsafeUnpin for Solution<S, D>where
S: UnsafeUnpin,
Vec<Matrix<f64, Const<D>, Const<1>, ArrayStorage<f64, D, 1>>>: UnsafeUnpin,
Vec<Vec<Matrix<f64, Const<D>, Const<1>, ArrayStorage<f64, D, 1>>>>: UnsafeUnpin,
impl<S, const D: usize> UnwindSafe for Solution<S, D>where
S: UnwindSafe,
Vec<Matrix<f64, Const<D>, Const<1>, ArrayStorage<f64, D, 1>>>: UnwindSafe,
Vec<Vec<Matrix<f64, Const<D>, Const<1>, ArrayStorage<f64, D, 1>>>>: UnwindSafe,
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
Mutably borrows from an owned value. Read more
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.