ODIN
|
#include <fitting.h>
Public Member Functions | |
bool | fit (const Array< float, 1 > &yvals, const Array< float, 1 > &ysigma, const Array< float, 1 > &xvals) |
Array< float, 1 > | get_function (const Array< float, 1 > &xvals) const |
Class for polynomial fitting of function
y= Sum_i a[i] x^i, with i in [0,N_rank]
N_rank is the degree of the polynome to be fitted