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. Params:
- x: The state vector at time t
- p: The parameters of the model; Use the [fetch_params!] macro to extract the parameters
- t: The time at which the output equation is evaluated
- rateiv: A vector of infusion rates at time t
- cov: 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