28 #ifndef ROOT_TMVA_PDEFoamKernelGauss 29 #define ROOT_TMVA_PDEFoamKernelGauss 31 #ifndef ROOT_TMVA_PDEFoam 34 #ifndef ROOT_TMVA_PDEFoamKernelBase 48 template<
typename T>
T Sqr(
T x)
const {
return x *
x; }
virtual ~PDEFoamKernelGauss()
Float_t WeightGaus(PDEFoam *, PDEFoamCell *, std::vector< Float_t > &)
Returns the gauss weight between the 'cell' and a given coordinate 'txvec'.
Float_t GetAverageNeighborsValue(PDEFoam *, std::vector< Float_t > &, ECellValue)
This function returns the average value 'cv' of only nearest neighbor cells.
#define ClassDef(name, id)
PDEFoamKernelGauss(Float_t sigma)
Default constructor for streamer.
virtual Float_t Estimate(PDEFoam *, std::vector< Float_t > &, ECellValue)
Gaussian kernel estimator.
Abstract ClassifierFactory template that handles arbitrary types.