This is an initial implementation of the curve fit module using Eigen.
This also should serve as an example for future port_xxx effort.
This is also a useful example of working with Eigen, which could sometimes be hard to get it right, as it encapsulate a lot of the stuff behind the scene.
The template-heavy nature of Eigen also means we need to write class templates, which could be less easy sometimes.
This is an initial implementation of the curve fit module using Eigen.
This also should serve as an example for future port_xxx effort.
This is also a useful example of working with Eigen, which could sometimes be hard to get it right, as it encapsulate a lot of the stuff behind the scene.
The template-heavy nature of Eigen also means we need to write class templates, which could be less easy sometimes.
Please feel free to read the code and comment.