Skip to main content

IdeSolver

Trait IdeSolver 

Source
pub trait IdeSolver<S: Scalar> {
    // Required method
    fn solve<Sys: IdeSystem<S>>(
        system: &Sys,
        t0: S,
        tf: S,
        y0: &[S],
        options: &IdeOptions<S>,
    ) -> Result<IdeResult<S>, String>;
}
Expand description

Trait for IDE solvers.

Required Methods§

Source

fn solve<Sys: IdeSystem<S>>( system: &Sys, t0: S, tf: S, y0: &[S], options: &IdeOptions<S>, ) -> Result<IdeResult<S>, String>

Solve the IDE problem.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§