Description Usage Arguments Value
Implements the Newton's method
1 2 | newtons_method(x_init, funval, fungrad, funhess, alpha = 1,
maxit = 1000, threshold = 1e-09)
|
x_init |
initial guess |
funval |
objective function calculator |
fungrad |
objective function's gradient |
funhess |
objective functiond' Hessian |
alpha |
step size. if "backtracking", will automatically select the step using this algorithm |
maxit |
max number of iterations |
threshold |
convergence threshold |
solution list – solution: x_min, path: x_points, number of iterations: n_it
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.