cheind / cppopt

Numerical optimization in C++
38 stars 56 forks source link

gauss-newton algorithm residual bigger than matlab code #1

Open Yvaine opened 8 years ago

Yvaine commented 8 years ago

Hello, Thank you for providing C++ implement of gauss-newton algorithm.But I have used the same data on cppopt::gaussNewton and lsqcurvefit of matlab(use guass newton also), the result is not the same, and the square residual of cppopt::gaussNewton is bigger than lsqcurvefit of matlab. Do you know the reason.

Thank you very much.

bihuchao commented 6 years ago

@Yvaine Can I have your original example code piece of CPPOPT & Matlab, I want to make it out. Thank you!