Trait OdeSystem

Source
pub trait OdeSystem {
    // Required method
    fn derivative(&self, t: f64, y: &[f64]) -> Vec<f64>;
}
Expand description

ODE system: dy/dt = f(t, y).

Implementations define the right-hand side of the ODE system.

Required Methods§

Source

fn derivative(&self, t: f64, y: &[f64]) -> Vec<f64>

Evaluate the derivative at (t, y).

Implementors§