Type Alias Diffusion
pub type Diffusion = fn(_: &Matrix<f64, Dyn, Const<1>, VecStorage<f64, Dyn, Const<1>>>, _: &mut Matrix<f64, Dyn, Const<1>, VecStorage<f64, Dyn, Const<1>>>);
Expand description
This closure represents the diffusion term of the model: Params:
- p: The parameters of the model; Use the [fetch_params!] macro to extract the parameters
- d: A mutable reference to the diffusion term for each state variable (This vector should have the same length as the x, and dx vectors on the drift closure)