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

#include <KDE1DCV.hh>

Inheritance diagram for npstat::KDE1DLSCVFunctorHelper< Numeric >:
npstat::Functor1< double, double >

Public Member Functions

 KDE1DLSCVFunctorHelper (const AbsKDE1DKernel &kernel, const double xmin, const double xmax, const unsigned nIntegIntervals, const unsigned nIntegPoints, const Numeric *coords, const unsigned long nCoords, const bool coordinatesSorted, const bool useReverseKde)
 
double operator() (const double &bw) const
 

Additional Inherited Members

- Public Types inherited from npstat::Functor1< double, double >
typedef double result_type
 
typedef double first_argument_type
 

Detailed Description

template<typename Numeric>
class npstat::KDE1DLSCVFunctorHelper< Numeric >

A lightweight functor for getting negative LSCV values (that is, quantity to be maximized). It will not copy the kernel and will not own the data. It is the responsibility of the user of this class to ensure that the lifetimes of the kernel and the data exceed the lifetime of the functor.

Intended usage is via the "KDE1DLSCVFunctor" utility function.


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