| .rxAdjointExpand | R Documentation |
Exposes the state Jacobian F_X = dF/dy and parameter forcing
F_p = dF/dtheta as rxode2 lhs assignments spliced onto the base ODE, so the
C++ backward sweep can evaluate them at any stage state via calc_lhs. The
lhs are emitted in a fixed order: all F_X entries row-major
(rx__adjFX_i_j__ at index i*ns + j), then F_p (rx__adjFP_i_p__ at
ns*ns + i*np + p).
.rxAdjointExpand(object, calcSens, stiff = FALSE)
object |
model definition accepted by |
calcSens |
character vector of parameters to differentiate w.r.t. |
list with text (expanded model text), st, ns, np,
calcSens, and lhs layout fxOff (=0), fpOff (=ns*ns), nlhsAdj.
Matthew L. Fidler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.