pub trait OdeSystem {
// Required methods
fn dim(&self) -> usize;
fn rhs(&self, t: f64, x: &[f64]) -> Vec<f64>;
}Expand description
A continuous-time ODE system ẋ = f(t, x).
pub trait OdeSystem {
// Required methods
fn dim(&self) -> usize;
fn rhs(&self, t: f64, x: &[f64]) -> Vec<f64>;
}A continuous-time ODE system ẋ = f(t, x).