https://savannah.cern.ch/bugs/index.php?98544
[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:
b273c7cb 11 TKDInterpolator();
12 TKDInterpolator(Int_t ndim, Int_t npoints=0);
13 ~TKDInterpolator();
14 void AddNode(const TKDNodeInfo &ref);
afb669c1 15 Bool_t Build(Int_t ndim) {return TKDInterpolatorBase::Build(ndim);}
16 Bool_t Build(Int_t npoints, Int_t ndim);
b273c7cb 17 Int_t GetNodeIndex(const Float_t *p);
18 Bool_t SetNode(Int_t i, const TKDNodeInfo &ref);
e0b38166 19
f2040a8f 20private:
b273c7cb 21 TKDInterpolator(const TKDInterpolator &);
22 TKDInterpolator& operator=(const TKDInterpolator &);
f2040a8f 23
24private:
b273c7cb 25
26 ClassDef(TKDInterpolator, 1) // LOWESS data interpolator
f2040a8f 27};
28
e0b38166 29
f2040a8f 30#endif
31