Skip to content

DynamicalSystem

Defined in: state.rs:235

pub trait DynamicalSystem

A dynamical system that can compute state derivatives at a given time.

The derivative has the same type as the state (standard ODE formulation: for y = [q, q’], dy/dt = [q’, q”] is also of type State).

fn derivatives(&self, t: f64, state: &::State) -> ::State