MLPACK
1.0.10
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
mlpack
core
kernels
kernel_traits.hpp
Go to the documentation of this file.
1
23
#ifndef __MLPACK_CORE_KERNELS_KERNEL_TRAITS_HPP
24
#define __MLPACK_CORE_KERNELS_KERNEL_TRAITS_HPP
25
26
namespace
mlpack {
27
namespace
kernel {
28
36
template
<
typename
KernelType>
37
class
KernelTraits
38
{
39
public
:
43
static
const
bool
IsNormalized
=
false
;
44
};
45
46
};
// namespace kernel
47
};
// namespace mlpack
48
49
#endif
mlpack::kernel::KernelTraits
This is a template class that can provide information about various kernels.
Definition:
kernel_traits.hpp:37
mlpack::kernel::KernelTraits::IsNormalized
static const bool IsNormalized
If true, then the kernel is normalized: K(x, x) = K(y, y) = 1 for all x.
Definition:
kernel_traits.hpp:43
Generated by
1.8.6