dot-rxAdjointModel: Build (and cache) the compiled adjoint-expansion model for...

.rxAdjointModelR Documentation

Build (and cache) the compiled adjoint-expansion model for rk4s

Description

Runs .rxAdjointExpand() and compiles the result, caching by the normalized model text + calcSens so an optimizer that resolves the gradient many times compiles once.

Usage

.rxAdjointModel(object, calcSens, stiff = FALSE)

Arguments

object

model definition accepted by rxode2().

calcSens

character vector of parameters to differentiate w.r.t.

Value

list with model (compiled rxode2) and info (the .rxAdjointExpand() layout).

Author(s)

Matthew L. Fidler


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