
Build the symbolic part of a full-trajectory adjoint solve (compile once)
Source:R/adjoint.R
dot-rxAdjointSolveBuild.RdPerforms all symbolic work (Jacobian, dose-dual expressions, model
compilation) once and returns a reusable object for .rxAdjointSolveEvalC(),
the C++-backed counterpart of .rxAdjointSolve().
Arguments
- object
model definition accepted by
rxode2()(text,rxode2object, or function/ui).- calcSens
character vector of parameter names to differentiate with respect to.
- events
event table / data used to define dosing.
- adjStates
character vector of output states of interest. Defaults to all ODE states (full forward-sensitivity parity).
Value
an opaque list consumed by .rxAdjointSolveEvalC().