Function one_compartment_with_absorption
pub fn one_compartment_with_absorption(
x: &NalgebraVec<f64>,
p: &NalgebraVec<f64>,
t: f64,
rateiv: NalgebraVec<f64>,
_cov: &Covariates,
) -> NalgebraVec<f64>
Expand description
Analytical solution for one compartment model with first-order absorption.
§Assumptions
p
is a vector of length 2 with ke and ka in that orderrateiv
is a vector of length 1 with the value of the infusion rate (only one drug)x
is a vector of length 2- covariates are not used