Function psi
pub fn psi(
equation: &impl Equation,
subjects: &Data,
support_points: &ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>,
error_model: &ErrorModel,
progress: bool,
cache: bool,
) -> Result<ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, PharmsolError>
Expand description
Calculate the psi matrix for maximum likelihood estimation.
§Parameters
equation
: The equation to use for simulationsubjects
: The subject datasupport_points
: The support points to evaluateerror_model
: The error model to useprogress
: Whether to show a progress barcache
: Whether to use caching
§Returns
A 2D array of likelihoods