Kernel Class Reference

Inheritance diagram for Kernel:

Inheritance graph
[legend]

List of all members.


Detailed Description

Kernel for density estimation.

Author:
Lawrence Murray <lawrence@indii.org>
Version:
Rev
Date:
Date

Serialization

This class supports serialization through the Boost.Serialization library.

Definition at line 21 of file Kernel.hpp.


Public Member Functions

 Kernel ()
 Default constructor.
 Kernel (const double h)
 Constructor.
virtual ~Kernel ()=0
 Destructor.
double getBandwidth () const
 Get kernel bandwidth.
bool operator< (const Kernel &o) const
 Comparison operator for sorting etc.
virtual double operator() (const double x) const =0
 Evaluate the kernel.

Constructor & Destructor Documentation

Kernel (  ) 

Default constructor.

This should generally only be used when the object is to be restored from a serialization.

Definition at line 5 of file Kernel.cpp.

Kernel ( const double  h  ) 

Constructor.

Parameters:
h $h$; the scaling parameter (bandwidth).

Definition at line 9 of file Kernel.cpp.

~Kernel (  )  [pure virtual]

Destructor.

Definition at line 13 of file Kernel.cpp.


Member Function Documentation

double getBandwidth (  )  const [inline]

Get kernel bandwidth.

Returns:
Kernel bandwidth.

Definition at line 94 of file Kernel.hpp.

bool operator< ( const Kernel o  )  const [inline]

Comparison operator for sorting etc.

Parameters:
o Object to which to compare.
Returns:
True if the bandwidth of this is less than the bandwidth of o.

Definition at line 98 of file Kernel.hpp.

virtual double operator() ( const double  x  )  const [pure virtual]

Evaluate the kernel.

Parameters:
x Point at which to evaluate the kernel.
Returns:
Density of the kernel at the given point.

Implemented in AlmostGaussianKernel, and GaussianKernel.


Generated on Wed Dec 17 15:11:58 2008 for dysii Dynamical Systems Library by  doxygen 1.5.3