]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STAT/TKDInterpolator.h
rename Interpolator to PDF, add new class TKDInterpolator and
[u/mrichter/AliRoot.git] / STAT / TKDInterpolator.h
CommitLineData
f2040a8f 1#ifndef ROOT_TKDInterpolator
2#define ROOT_TKDInterpolator
3
a3408ed3 4#ifndef ROOT_TKDInterpolatorBase
5#include "TKDInterpolatorBase.h"
f2040a8f 6#endif
316a7f5a 7
a3408ed3 8class TKDInterpolator : public TKDInterpolatorBase
f2040a8f 9{
10public:
11 TKDInterpolator();
a3408ed3 12 TKDInterpolator(Int_t ndim, Int_t npoints=0);
f2040a8f 13 ~TKDInterpolator();
a3408ed3 14 void AddNode(const TKDNodeInfo &ref);
15 void Build(Int_t npoints, Int_t ndim);
16 Int_t GetNodeIndex(const Float_t *p);
17 Bool_t SetNode(const Int_t i, const TKDNodeInfo &ref);
e0b38166 18
f2040a8f 19private:
a9c20b1f 20 TKDInterpolator(const TKDInterpolator &);
21 TKDInterpolator& operator=(const TKDInterpolator &);
f2040a8f 22
23private:
a3408ed3 24
25 ClassDef(TKDInterpolator, 1) // LOWESS data interpolator
f2040a8f 26};
27
e0b38166 28
f2040a8f 29#endif
30