Description Usage Arguments Value Examples
newton_raph
provides an environment for performing iterated
Newton Raphson root finding of multivariate functions with an optional Backtracking line search,
For more on line search see: http://cosmos.phy.tufts.edu/~danilo/AST16/Material/RootFinding.pdf page479
1 2 3 4 5 6 7 8 9 10 | newton_raph(
vec_J,
par0,
...,
LSearch = FALSE,
w = rep.int(1, length(par0)),
Max.it = 2000,
prec = 1e-05,
step.scale = 1
)
|
vec_J |
a function which returns newton-raphson steps via |
par0 |
Initial values for the parameters to be optimized over. |
... |
Further arguments to be passed to |
LSearch |
Option to perform the Backtracking line search algorithm. Defaults to |
w |
Weights for Backtracking algorithm. Must be non-negative with length equal to |
Max.it |
Maximum number of iterations (Function calls) |
prec |
Parameter precision tolerance. Iteration will stop when the step is smaller than the precision for all parameters. |
step.scale |
Optional scaling step to perform damped Newton Raphson. |
A list containing the par
estimates and
an evaluation of the vec_J
function at these parameters.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.