Function two_compartments_cl_with_absorption
pub fn two_compartments_cl_with_absorption(
x: &NalgebraVec<f64>,
p: &NalgebraVec<f64>,
t: f64,
rateiv: &NalgebraVec<f64>,
cov: &Covariates,
) -> NalgebraVec<f64>Expand description
Analytical solution for two compartment model with first-order absorption, parameterized by clearances.
Converts CL/Q/Vc/Vp to ke/kcp/kpc and delegates to two_compartments_with_absorption.
ยงAssumptions
pis a vector of length 5 with ka, CL, Q, Vc and Vp in that orderrateivis a vector of length 1 with the value of the infusion rate (only one drug)xis a vector of length 3- covariates are not used