Cost function for least-square problems
Implements a cost function using the interface provided by the LeastSquareProblem class.
Default epsilon for finite difference method
compute vector of derivatives of the least square function
method to overload to compute J_f, the jacobian of the cost function with respect to x
compute value of the least square function
compute value and gradient of the least square function
method to overload to compute J_f, the jacobian of the cost function with respect to x and also the cost function
Cost function for least-square problems
Implements a cost function using the interface provided by the LeastSquareProblem class.