13 #ifndef MLPACK_CORE_KERNELS_KERNEL_TRAITS_HPP 14 #define MLPACK_CORE_KERNELS_KERNEL_TRAITS_HPP 26 template<
typename KernelType>
This is a template class that can provide information about various kernels.
Linear algebra utility functions, generally performed on matrices or vectors.
static const bool IsNormalized
If true, then the kernel is normalized: K(x, x) = K(y, y) = 1 for all x.
static const bool UsesSquaredDistance
If true, then the kernel include a squared distance, ||x - y||^2 .