n -> m function
m × n Jacobian (optional)
thread manager for finite difference jacobian approximation in case of g is null (optional)
Levenberg-Marquardt data structure
length (dimension) of y = f(x)
initial (in) and final (out) X value
lower X bound
upper X bound
optimization status.
High level nothtow D API for Levenberg-Marquardt Algorithm.
Computes the argmin over x of sum_i(f(x_i)^2) using the Least-Squares algorithm, and an estimate of the Jacobian of f at x.
The function f should take an input vector of length n, and fill an output vector of length m.
The function g is the Jacobian of f, and should fill a row-major m x n matrix.