The spherical kernel, which is 1 when the distance between the two argument points is less than or equal to the bandwidth, or 0 otherwise.
More...
|
| | SphericalKernel (const double bandwidth=1.0) |
| | Construct the SphericalKernel with the given bandwidth. More...
|
| |
| template<typename VecTypeA , typename VecTypeB > |
| double | ConvolutionIntegral (const VecTypeA &a, const VecTypeB &b) const |
| | Obtains the convolution integral [integral K(||x-a||)K(||b-x||)dx] for the two vectors. More...
|
| |
| template<typename VecTypeA , typename VecTypeB > |
| double | Evaluate (const VecTypeA &a, const VecTypeB &b) const |
| | Evaluate the spherical kernel with the given two vectors. More...
|
| |
| double | Evaluate (const double t) const |
| | Evaluate the kernel when only a distance is given, not two points. More...
|
| |
| double | Gradient (double t) |
| |
| double | Normalizer (size_t dimension) const |
| |
| template<typename Archive > |
| void | serialize (Archive &ar, const unsigned int) |
| | Serialize the object. More...
|
| |
The spherical kernel, which is 1 when the distance between the two argument points is less than or equal to the bandwidth, or 0 otherwise.
Definition at line 23 of file spherical_kernel.hpp.
| double ConvolutionIntegral |
( |
const VecTypeA & |
a, |
|
|
const VecTypeB & |
b |
|
) |
| const |
|
inline |
| double Evaluate |
( |
const VecTypeA & |
a, |
|
|
const VecTypeB & |
b |
|
) |
| const |
|
inline |
Evaluate the spherical kernel with the given two vectors.
- Template Parameters
-
| VecTypeA | Type of first vector. |
| VecTypeB | Type of second vector. |
- Parameters
-
| a | First vector. |
| b | Second vector. |
- Returns
- The kernel evaluation between the two vectors.
Definition at line 44 of file spherical_kernel.hpp.
References LMetric< TPower, TTakeRoot >::Evaluate().
| double Evaluate |
( |
const double |
t | ) |
const |
|
inline |
Evaluate the kernel when only a distance is given, not two points.
- Parameters
-
Definition at line 99 of file spherical_kernel.hpp.
| double Gradient |
( |
double |
t | ) |
|
|
inline |
| double Normalizer |
( |
size_t |
dimension | ) |
const |
|
inline |
| void serialize |
( |
Archive & |
ar, |
|
|
const unsigned |
int |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: