Type Alias AnalyticalEq
pub type AnalyticalEq = fn(_: &Matrix<f64, Dyn, Const<1>, VecStorage<f64, Dyn, Const<1>>>, _: &Matrix<f64, Dyn, Const<1>, VecStorage<f64, Dyn, Const<1>>>, _: f64, _: Matrix<f64, Dyn, Const<1>, VecStorage<f64, Dyn, Const<1>>>, _: &Covariates) -> Matrix<f64, Dyn, Const<1>, VecStorage<f64, Dyn, Const<1>>>;
Expand description
This closure represents an Analytical solution of the model. See [analytical] module for examples.
ยงParameters
x
: The state vector at time tp
: The parameters of the model; Use the [fetch_params!] macro to extract the parameterst
: The time at which the output equation is evaluatedrateiv
: A vector of infusion rates at time tcov
: A reference to the covariates at time t; Use the [fetch_cov!] macro to extract the covariates
TODO: Remove covariates. They are not used in the analytical solution