pub struct Midpoint { /* private fields */ }Expand description
Trait Implementations§
Source§impl<Y, U> FixedStepExplicit<Y, U> for Midpoint
impl<Y, U> FixedStepExplicit<Y, U> for Midpoint
fn step( &self, function: impl FnMut(Scalar, &Y) -> Result<Y, String>, y: &Y, t: Scalar, dt: Scalar, k: &mut [Y], y_trial: &mut Y, ) -> Result<(), String>
fn integrate_fixed_step( &self, function: impl FnMut(Scalar, &Y) -> Result<Y, String>, time: &[Scalar], initial_condition: Y, ) -> Result<(Vector, U, U), IntegrationError>
impl<Y, U> OdeSolver<Y, U> for Midpoint
Auto Trait Implementations§
impl Freeze for Midpoint
impl RefUnwindSafe for Midpoint
impl Send for Midpoint
impl Sync for Midpoint
impl Unpin for Midpoint
impl UnwindSafe for Midpoint
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