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 a stochastic differential equation model.
ยงParameters
p
: The parameters of the model; Use the [fetch_params!] macro to extract the parametersd
: 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)