dot-rxAdjointSolveBuild: Build the symbolic part of a full-trajectory adjoint solve...

.rxAdjointSolveBuildR Documentation

Build the symbolic part of a full-trajectory adjoint solve (compile once)

Description

Performs all symbolic work (Jacobian, dose-dual expressions, model compilation) once and returns a reusable object for .rxAdjointSolveEvalC(), the C++-backed counterpart of .rxAdjointSolve().

Usage

.rxAdjointSolveBuild(object, calcSens, events, adjStates = NULL)

Arguments

object

model definition accepted by rxode2() (text, rxode2 object, 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().

Author(s)

Matthew L. Fidler


rxode2 documentation built on July 28, 2026, 5:08 p.m.