pub struct EulerSolver;Expand description
Forward Euler solver.
Implementations§
Source§impl EulerSolver
impl EulerSolver
Sourcepub fn solve(
system: &dyn OdeSystem,
y0: &[f64],
config: &OdeConfig,
) -> SolverResult<OdeSolution>
pub fn solve( system: &dyn OdeSystem, y0: &[f64], config: &OdeConfig, ) -> SolverResult<OdeSolution>
Integrate the ODE system using the forward Euler method.
Auto Trait Implementations§
impl Freeze for EulerSolver
impl RefUnwindSafe for EulerSolver
impl Send for EulerSolver
impl Sync for EulerSolver
impl Unpin for EulerSolver
impl UnsafeUnpin for EulerSolver
impl UnwindSafe for EulerSolver
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