| .rxDiscreteAdjointBuild | R Documentation |
Parses the model once and returns closures that evaluate the ODE RHS F, the
state Jacobian dF/dy and the parameter forcing dF/dtheta at an arbitrary
state (needed at interior RK4 stage points). Pair with
.rxDiscreteForwardSens() and .rxDiscreteAdjointGrad().
.rxDiscreteAdjointBuild(object, calcSens)
object |
model definition accepted by |
calcSens |
character vector of parameters to differentiate w.r.t. |
a list with st (state names), ns, np, calcSens, and evaluator
closures Fe(x, params), FXe(x, params) (ns x ns), FPe(x, params)
(ns x np).
Matthew L. Fidler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.