Function pmcore::prelude::one_compartment_with_absorption

pub fn one_compartment_with_absorption(
    x: &Matrix<f64, Dyn, Const<1>, VecStorage<f64, Dyn, Const<1>>>,
    p: &Matrix<f64, Dyn, Const<1>, VecStorage<f64, Dyn, Const<1>>>,
    t: f64,
    rateiv: Matrix<f64, Dyn, Const<1>, VecStorage<f64, Dyn, Const<1>>>,
    _cov: &Covariates,
) -> Matrix<f64, Dyn, Const<1>, VecStorage<f64, Dyn, Const<1>>>
Expand description

Analytical for one compartment with absorption Assumptions:

  • p is a vector of length 2 with ke and ka in that order
  • rateiv 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