
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. | |
| 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.
| h | ; the scaling parameter (bandwidth). |
Definition at line 9 of file Kernel.cpp.
| ~Kernel | ( | ) | [pure virtual] |
| double getBandwidth | ( | ) | const [inline] |
| bool operator< | ( | const Kernel & | o | ) | const [inline] |
Comparison operator for sorting etc.
| o | Object to which to compare. |
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.
| x | Point at which to evaluate the kernel. |
Implemented in AlmostGaussianKernel, and GaussianKernel.
1.5.3