lmarq: Lev-Marquardt Inversion
Description
Use the Levenberg-Marquardt algorithm to minimize
f(p)=sum(F_i(p)^2)Usage
lmarq(afun, ajac, p0, tol, maxiter)
Arguments
afun
name of the function F(x)
ajac
name of the Jacobian function J(x)
maxiter
maximum number of iterations allowed
Value
- pstarbest solution found.
- iterIteration count.