MLPACK  1.0.4
cosine_distance.hpp
Go to the documentation of this file.
00001 
00023 #ifndef __MLPACK_CORE_KERNELS_COSINE_DISTANCE_HPP
00024 #define __MLPACK_CORE_KERNELS_COSINE_DISTANCE_HPP
00025 
00026 #include <mlpack/core.hpp>
00027 
00028 namespace mlpack {
00029 namespace kernel {
00030 
00040 class CosineDistance
00041 {
00042  public:
00050   template<typename VecType>
00051   static double Evaluate(const VecType& a, const VecType& b);
00052 };
00053 
00054 }; // namespace kernel
00055 }; // namespace mlpack
00056 
00057 // Include implementation.
00058 #include "cosine_distance_impl.hpp"
00059 
00060 #endif