MLPACK
1.0.4
|
00001 00023 #ifndef __MLPACK_CORE_KERNELS_EXAMPLE_KERNEL_HPP 00024 #define __MLPACK_CORE_KERNELS_EXAMPLE_KERNEL_HPP 00025 00026 #include <mlpack/core.hpp> 00027 00028 namespace mlpack { 00029 00054 namespace kernel { 00055 00094 class ExampleKernel 00095 { 00096 public: 00103 ExampleKernel() { } 00104 00116 template<typename VecType> 00117 static double Evaluate(const VecType& a, const VecType& b) { return 0; } 00118 00131 template<typename VecType> 00132 static double ConvolutionIntegral(const VecType& a, const VecType& b) 00133 { return 0; } 00134 00145 static double Normalizer(size_t dimension) { return 0; } 00146 }; 00147 00148 }; // namespace kernel 00149 }; // namespace mlpack 00150 00151 #endif