Nonlinear least squares

Gauss-Newton method:

Given f and a starting value x1, for each k=1,2,3,...:

  1. Compute yk=f(xk) and Ak at xk
  2. Solve linear least squares ||Aksk+yk||2 for sk
  3. Let xk+1=xk+sk