Module simulator

Module simulator 

Source

Modules§

cache
Cache mechanisms for [Equation]s
equation

Structs§

PopulationPredictions
Container for predictions across a population of subjects.
Prediction
Prediction holds an observation and its prediction at a single time point.
PredictionCache
Thread-safe LRU cache for subject predictions.
SdeLikelihoodCache
Cache for SDE likelihood values.
SubjectPredictions
Container for predictions associated with a single subject.

Constants§

DEFAULT_CACHE_SIZE
Default maximum number of entries per cache.

Traits§

Equation
Trait for model equations that can be simulated.

Functions§

log_likelihood_batch
Compute log-likelihoods for all subjects in parallel, where each subject has its own parameter vector.
log_likelihood_matrix
Calculate the log-likelihood matrix for all subjects and support points.
log_likelihood_subject
Compute log-likelihood for a single subject using prediction-based sigma.
log_psiDeprecated
Calculate the log-likelihood matrix (deprecated signature with boolean flags).
psiDeprecated
Calculate the likelihood matrix (deprecated).