Skip to main content

OdeSolver

Trait OdeSolver 

Source
pub trait OdeSolver: NumericPlugin {
    // Required method
    fn solve(
        &self,
        cx: &mut Cx,
        problem: OdeProblem<'_>,
        opt: OdeOpts,
    ) -> Result<Vec<(Value, Value)>>;
}
Expand description

A numeric ODE-solving backend: integrates an initial-value problem.

Required Methods§

Source

fn solve( &self, cx: &mut Cx, problem: OdeProblem<'_>, opt: OdeOpts, ) -> Result<Vec<(Value, Value)>>

Solves problem, returning the sampled (x, y) points of the trajectory.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§