Function two_compartments

Source
pub fn two_compartments(x: &V, p: &V, t: T, rateiv: V, _cov: &Covariates) -> V
Expand description

Analytical solution for two compartment model.

ยงAssumptions

  • p is a vector of length 3 with ke, kcp and kpc 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