Description Usage Arguments Value Examples
Function factory producing solver objective function returning value and (possibly) gradient at the same time.
1 | objective(solver, data, misfit_fn = squared_error, param_transform = NULL, ...)
|
solver |
object of class |
data |
observed ('exact') data. |
misfit_fn |
function to compute misfit between |
param_transform |
function performing parameter transformation, must
accept 1 parameter |
... |
additional args passed to |
Function with numeric parameter x
returning list with one or two
components:
value
numeric, objective value,
gradient
numeric, objective gradient, missing if solver does not compute Jacobian matrix.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.