Check out the blog post
mkdir build
cd build
cmake ..
make
./LMOptimize
Output:
LM optimization status: 2
Optimization results
a: -1.99839
b: 50.0387
c: 7.83367
Code for tutorial on how to use Eigen's LM optimization
C++
Check out the blog post
mkdir build
cd build
cmake ..
make
./LMOptimize
Output:
LM optimization status: 2
Optimization results
a: -1.99839
b: 50.0387
c: 7.83367