npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::KDE1DDensityKernel Class Reference

#include <AbsKDE1DKernel.hh>

Inheritance diagram for npstat::KDE1DDensityKernel:
npstat::AbsKDE1DKernel

Public Member Functions

 KDE1DDensityKernel (const AbsDistribution1D &d, const double normfactor=1.0)
 
 KDE1DDensityKernel (const KDE1DDensityKernel &r)
 
KDE1DDensityKerneloperator= (const KDE1DDensityKernel &r)
 
virtual KDE1DDensityKernelclone () const
 
virtual void setNormFactor (const double normfactor)
 
double xmin () const
 
double xmax () const
 
double normFactor () const
 
double operator() (const double x) const
 
- Public Member Functions inherited from npstat::AbsKDE1DKernel
virtual double momentIntegral (unsigned k, unsigned nIntegPoints) const
 
virtual double squaredIntegral (unsigned nIntegPoints) const
 
template<typename Numeric >
double kde (double x, double bandwidth, const Numeric *coords, unsigned long nCoords, bool coordinatesSorted=false) const
 
template<typename Numeric >
double reverseKde (double x, double bandwidth, const Numeric *coords, unsigned long nCoords, bool coordinatesSorted=false) const
 
double looKde (double bandwidth, unsigned long nCoords, double originalDensityEstimate) const
 
template<typename Numeric >
double integratedSquaredError (const AbsDistribution1D &distro, unsigned nIntegIntervals, unsigned nIntegPoints, double bandwidth, bool useReverseKde, const Numeric *coords, unsigned long nCoords, bool coordinatesSorted=false) const
 
template<typename Numeric >
double integratedKdeSquared (double xmin, double xmax, unsigned nIntegIntervals, unsigned nIntegPoints, double bandwidth, bool useReverseKde, const Numeric *coords, unsigned long nCoords, bool coordinatesSorted=false) const
 

Detailed Description

Arbitrary 1-d densities used as kernel smoothers

Member Function Documentation

◆ clone()

virtual KDE1DDensityKernel* npstat::KDE1DDensityKernel::clone ( ) const
inlinevirtual

"Virtual copy constructor"

Implements npstat::AbsKDE1DKernel.


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