Expand description
A collection of commonly used items to simplify imports.
Re-exports§
pub use crate::algorithms;
pub use crate::algorithms::dispatch_algorithm;
pub use crate::algorithms::Algorithm;
pub use crate::routines;
pub use crate::routines::logger;
pub use crate::routines::initialization::Prior;
pub use crate::routines::settings::ErrorModel;
pub use crate::routines::settings::*;
pub use crate::structs::*;
Modules§
Macros§
Structs§
- An instantaenous input of drug
- A Covariate is a collection of CovariateSegments, which allows for interpolation of covariate values
- A CovariateSegment is a segment of the piece-wise interpolation of a Covariate
- Covariates is a collection of Covariate
- A hash map implemented with quadratic probing and SIMD lookup.
- A continuous dose of drug
- This structs holds the metadata of the model
- An observation of drug concentration or covariates
- Subject is a collection of blocks for one individual
Enums§
- An Event can be a Bolus, Infusion, or Observation
Traits§
Functions§
- Analytical for one compartment Assumptions:
- Analytical for one compartment with absorption Assumptions:
- Analytical for two compartment Assumptions:
- Analytical for two compartment with absorption Assumptions:
Type Aliases§
- This closure represents an Analytical solution of the model, see [analytical] module for examples. Params:
- This closure represents the differential equation of the model: Params:
- This closure represents the diffusion term of the model: Params:
- This closure represents the drift term of the model: Params:
- This closure represents the fraction absorbed (also called bioavailability or protein binding) of the model, the fa term is used to adjust the amount of drug that is absorbed into the system. Params:
- This closure represents the initial state of the system: Params:
- This closure represents the lag time of the model, the lag term delays the only the boluses going into an specific comparment. Params:
- The number of states and output equations of the model The first element is the number of states and the second element is the number of output equations This is used to initialize the state vector and the output vector Example:
- This closure represents the output equation of the model: Params:
Result<T, Error>
- This closure represents the secondary equation of the model, secondary equations are used to update the parameter values based on the covariates. Params: