dot-rxAdjointSolveEvalC: Evaluate a prebuilt full-trajectory adjoint solve in C++

.rxAdjointSolveEvalCR Documentation

Evaluate a prebuilt full-trajectory adjoint solve in C++

Description

Full-trajectory counterpart of .rxAdjointGradEvalC(): reconstructs dy_k(t_i)/dp for every output state, time and parameter in one backward sweep (rxode2AdjointTrajSweep), covering all dosing duals. Numerically equivalent to .rxAdjointSolve().

Usage

.rxAdjointSolveEvalC(
  build,
  params,
  outTimes,
  denseBy = 0.01,
  atol = 1e-10,
  rtol = 1e-10
)

Arguments

build

object returned by .rxAdjointSolveBuild().

params

named numeric vector of parameter values.

outTimes

numeric vector of output times.

denseBy, atol, rtol

as in .rxAdjointSolve().

Value

data.frame with a time column and one ⁠rx__sens_<state>_BY_<param>__⁠ column per (state, param) pair.

Author(s)

Matthew L. Fidler


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