pub trait OdeSystem: Send + Sync {
// Required method
fn derivative(&self, t: f64, y: f64) -> f64;
}Expand description
Represents a system of first-order ODEs: dy/dt = f(t, y)
For coupled systems (e.g., Boltzmann equations), this represents the right-hand side of the differential equation system.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".