pub struct RichardsonExtrapolator<F: IntegrateFloat> {
pub order: usize,
pub step_ratios: Vec<F>,
/* private fields */
}Expand description
Richardson extrapolation error estimator
Fields§
§order: usizeExtrapolation order
step_ratios: Vec<F>Step size ratios for extrapolation
Implementations§
Source§impl<F: IntegrateFloat> RichardsonExtrapolator<F>
impl<F: IntegrateFloat> RichardsonExtrapolator<F>
Sourcepub fn add_solution(&mut self, solution: Array1<F>)
pub fn add_solution(&mut self, solution: Array1<F>)
Add solution for extrapolation
Sourcepub fn extrapolate(&self) -> IntegrateResult<Option<Array1<F>>>
pub fn extrapolate(&self) -> IntegrateResult<Option<Array1<F>>>
Perform Richardson extrapolation
Auto Trait Implementations§
impl<F> Freeze for RichardsonExtrapolator<F>
impl<F> RefUnwindSafe for RichardsonExtrapolator<F>where
F: RefUnwindSafe,
impl<F> Send for RichardsonExtrapolator<F>where
F: Send,
impl<F> Sync for RichardsonExtrapolator<F>where
F: Sync,
impl<F> Unpin for RichardsonExtrapolator<F>where
F: Unpin,
impl<F> UnwindSafe for RichardsonExtrapolator<F>where
F: UnwindSafe + RefUnwindSafe,
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more