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 pharmsol;pub use crate::routines::settings::*;pub use crate::structs::*;
Modules§
Macros§
Structs§
- Analytical
 - Model equation using analytical solutions.
 - Bolus
 - Represents an instantaneous input of drug
 - Covariate
 - A time-varying covariate consisting of computed segments
 - Covariates
 - A collection of Covariates
 - Data
 - The main data container for pharmacokinetic/pharmacodynamic data
 - Error
Models  - Collection of error models for all possible outputs in the model/dataset This struct holds a vector of error models, each corresponding to a specific output in the pharmacometric analysis.
 - Error
Poly  - Error polynomial coefficients for the error model
 - HashMap
 - A hash map implemented with quadratic probing and SIMD lookup.
 - Infusion
 - Represents a continuous dose of drug over time
 - Meta
 - Model metadata container.
 - ODE
 - Observation
 - Represents an observation of drug concentration or other measured value
 - Occasion
 - An occasion within a subject’s dataset
 - SDE
 - Stochastic Differential Equation solver for pharmacometric models.
 - Subject
 - A subject in a pharmacometric dataset
 
Enums§
- Censor
 - Covariate
Error  - Error type for covariate operations
 - EqnKind
 - Error
Model  - Model for calculating observation errors in pharmacometric analyses
 - Error
Model Error  - Event
 - Represents a pharmacokinetic/pharmacodynamic event
 - Factor
 - Parameter that can be either fixed or variable for estimation
 - Interpolation
 - Method used to interpolate covariate values between observations
 
Traits§
- Equation
 - Trait for model equations that can be simulated.
 - Equation
Types  - Trait defining the associated types for equations.
 - Predictions
 - Trait for prediction containers.
 - State
 - Trait for state vectors that can receive bolus doses.
 - Subject
Builder Ext  - Extension trait for creating Subject instances using the builder pattern
 
Functions§
- get_e2
 - one_
compartment  - Analytical solution for one compartment model.
 - one_
compartment_ with_ absorption  - Analytical solution for one compartment model with first-order absorption.
 - three_
compartments  - Analytical for three compartments Assumptions:
 - three_
compartments_ with_ absorption  - Analytical solution for three compartment model with first-order absorption. Assumptions:
 - two_
compartments  - Analytical solution for two compartment model.
 - two_
compartments_ with_ absorption  - Analytical solution for two compartment model with first-order absorption.
 
Type Aliases§
- Analytical
Eq  - This closure represents an Analytical solution of the model. See [analytical] module for examples.
 - DiffEq
 - This closure represents the differential equation of the model.
 - Diffusion
 - This closure represents the diffusion term of a stochastic differential equation model.
 - Drift
 - This closure represents the drift term of a stochastic differential equation model.
 - Fa
 - This closure represents the fraction absorbed (also called bioavailability or protein binding) of the model.
 - Init
 - This closure represents the initial state of the system.
 - Lag
 - This closure represents the lag time of the model.
 - M
 - Type alias for matrix type used in simulations
 - Neqs
 - The number of states and output equations of the model.
 - Out
 - This closure represents the output equation of the model.
 - Result
 Result<T, Error>- SecEq
 - This closure represents the secondary equation of the model.
 - T
 - Type alias for floating point values used in simulations
 - V
 - Type alias for state vector type used in simulations