Finished dopri5, interpolation, and callbacks
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
use nalgebra::SVector;
|
||||
|
||||
/// A System trait.
|
||||
///
|
||||
/// The user will have to define their own system. They are free to add params to their system
|
||||
/// definition and use those in the derivative function
|
||||
pub trait SystemTrait<T, const D: usize> {
|
||||
fn derivative(&self, t: T, y: SVector<T,D>) -> SVector<T,D>;
|
||||
}
|
||||
|
||||
/// The basic ODE object that will be passed around. The type (T) and the size (D) will be
|
||||
/// determined upon creation of the object
|
||||
#[derive(Clone, Copy)]
|
||||
|
||||
Reference in New Issue
Block a user