问题
I need to fit some data in an iOS app, basically with Newton's Law of Cooling:
y = a + b * c^{x}
I found the GNU Scientific Library is likely to handle this, however, it is out of consideration for the sake of GPL. Is there any open-sourced nonlinear Chi-Square solver in C/C++ with a commercial friendly license (e.g., BSD, APL etc.)?
Looking forward to your suggestion.
回答1:
It seems that MINPACK could do the job.
https://github.com/johannesgerer/jburkardt-cpp/tree/master/minpack
来源:https://stackoverflow.com/questions/13854917/lib-for-nonlinear-fitting-on-ios