Type Alias Diffusion

pub type Diffusion = fn(&NalgebraVec<f64>, &mut NalgebraVec<f64>);
Expand description

This closure represents the diffusion term of a stochastic differential equation model.

ยงParameters

  • 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)