pub struct Rk4Solver;Expand description
Classical fourth-order Runge-Kutta solver.
Implementations§
Source§impl Rk4Solver
impl Rk4Solver
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 classical RK4.
Auto Trait Implementations§
impl Freeze for Rk4Solver
impl RefUnwindSafe for Rk4Solver
impl Send for Rk4Solver
impl Sync for Rk4Solver
impl Unpin for Rk4Solver
impl UnsafeUnpin for Rk4Solver
impl UnwindSafe for Rk4Solver
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