1 #ifndef __TPolynomial_h__
2 #define __TPolynomial_h__
8 namespace TPolynomial {
9 void MakePolySeries(Double_t x, Int_t type, Int_t Np, Double_t *P);
10 Double_t CalcPoly(Double_t *x, Double_t *par);
11 TF1 *MakePoly(TString Name =
"Tcheb", Int_t Npar = 3, Int_t R = 1, Double_t xmin = -0.5, Double_t xmax = 0.5);
12 TF1 *MakePol(
const Int_t N=2,
const Char_t *X =
"log(x)", TString type =
"PL", Int_t i0=0);
13 void GetFunc(TF1 *func);