ODIN
Public Member Functions | List of all members
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
 

Detailed Description

template<int N_rank>
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

Definition at line 318 of file fitting.h.


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