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 |
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 |
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 |
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.
◆ SphericalKernel()
◆ ConvolutionIntegral()
double ConvolutionIntegral |
( |
const VecTypeA & |
a, |
|
|
const VecTypeB & |
b |
|
) |
| const |
|
inline |
◆ Evaluate() [1/2]
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().
◆ Evaluate() [2/2]
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.
◆ Gradient()
double Gradient |
( |
double |
t | ) |
|
|
inline |
◆ Normalizer()
double Normalizer |
( |
size_t |
dimension | ) |
const |
|
inline |
◆ serialize()
void serialize |
( |
Archive & |
ar, |
|
|
const unsigned |
int |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: