source: trunk/lib/svm/Kernel.cc @ 332

Last change on this file since 332 was 332, checked in by Jari Häkkinen, 18 years ago

Resolved strange Id tag issue.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 509 bytes
Line 
1// $Id: Kernel.cc 332 2005-06-02 11:54:06Z jari $
2
3#include <c++_tools/svm/Kernel.h>
4
5#include <c++_tools/svm/KernelFunction.h>
6#include <c++_tools/gslapi/matrix.h>
7#include <c++_tools/gslapi/vector.h>
8
9namespace theplu {
10namespace svm { 
11
12  Kernel::Kernel(const gslapi::matrix& data, const KernelFunction& kf)
13    : data_(data), kf_(&kf)
14  {
15  }
16
17
18
19  Kernel::~Kernel(void)
20  {
21  } 
22
23
24
25  size_t Kernel::size(void) const
26  {
27    return data_.columns();
28  } 
29
30
31
32  bool Kernel::is_view(void) const
33  {
34    return false;
35  }
36
37
38
39}} // of namespace svm and namespace theplu
Note: See TracBrowser for help on using the repository browser.