PolynomialFunction< N_rank > Struct Template Reference

`#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 |

struct PolynomialFunction< N_rank >

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

The documentation for this struct was generated from the following file:

Generated on Tue Nov 8 2016 12:06:07 by 1.8.12