npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::KDE1D< Numeric > Class Template Reference

Public Member Functions

 KDE1D (const AbsKDE1DKernel &i_kernel, const Numeric *i_coords, const unsigned long i_nCoords)
 
 KDE1D (const AbsKDE1DKernel &i_kernel, const std::vector< Numeric > &i_coords)
 
 KDE1D (const KDE1D &r)
 
KDE1Doperator= (const KDE1D &r)
 
void setNormFactor (const double d)
 
void setSample (const Numeric *i_coords, const unsigned long i_nCoords)
 
void setSample (const std::vector< Numeric > &i_coords)
 
const AbsKDE1DKernelkernel () const
 
double normFactor () const
 
const std::vector< Numeric > & coords () const
 
unsigned long nCoords () const
 
Numeric minCoordinate () const
 
Numeric maxCoordinate () const
 
double density (const double x, const double bw) const
 
KDE1DFunctorHelper< Numeric > densityFunctor (const double bandwidth) const
 
KDE1DRLCVFunctorHelper< Numeric > rlcvFunctor (const double plcvAlpha) const
 
KDE1DLSCVFunctorHelper< Numeric > lscvFunctor (const double xmin, const double xmax, const unsigned nIntegIntervals, const unsigned nIntegPoints) const
 
double densityIntegral (const double xmin, const double xmax, const unsigned nIntegIntervals, const unsigned nIntegPoints, const double bandwidth) const
 
double integratedSquaredError (const AbsDistribution1D &distro, const unsigned nIntegIntervals, const unsigned nIntegPoints, const double bandwidth) const
 
double rlcv (const double bw, const double plcvAlpha) const
 
double lscv (const double bw, const double xmin, const double xmax, const unsigned nIntegIntervals, const unsigned nIntegPoints) const
 

Member Function Documentation

◆ densityFunctor()

template<class Numeric >
KDE1DFunctorHelper<Numeric> npstat::KDE1D< Numeric >::densityFunctor ( const double  bandwidth) const
inline

The lifetime of the lightweight functor returned by this method must not exceed the lifetime of this object


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