
Definition at line 29 of file GaussianKernel.hpp.
Public Member Functions | |
| GaussianKernel () | |
| Default constructor. | |
| GaussianKernel (const unsigned int N, const double h) | |
| Constructor. | |
| virtual | ~GaussianKernel () |
| Destructor. | |
| virtual double | operator() (const double x) const |
| Evaluate the kernel. | |
| virtual double | sample () const |
| Sample from the kernel. | |
| GaussianKernel | ( | ) |
Default constructor.
This should generally only be used when the object is to be restored from a serialization.
Definition at line 5 of file GaussianKernel.cpp.
| GaussianKernel | ( | const unsigned int | N, | |
| const double | h | |||
| ) |
Constructor.
| N | ; dimensionality of the problem. | |
| h | ; the scaling parameter (bandwidth). |
and
, its normalisation is. Supplying these allows substantial performance increases through precalculations.
Definition at line 9 of file GaussianKernel.cpp.
| ~GaussianKernel | ( | ) | [virtual] |
| double operator() | ( | const double | x | ) | const [inline, virtual] |
Evaluate the kernel.
| x | Point at which to evaluate the kernel. |
Implements Kernel.
Definition at line 97 of file GaussianKernel.hpp.
| double sample | ( | ) | const [inline, virtual] |
Sample from the kernel.
Implements Kernel.
Definition at line 102 of file GaussianKernel.hpp.
1.5.3