Skip to main content

ODEFunc

Type Alias ODEFunc 

Source
pub type ODEFunc = Box<dyn Fn(f64, &State) -> State>;
Expand description

A function that computes the derivative du/dt given time t and state u.

Aliased Typeยง

pub struct ODEFunc(/* private fields */);