source: trunk/lib/svm/KernelView.cc @ 331

Last change on this file since 331 was 331, checked in by Peter, 18 years ago

add KernelView? in makefile and small fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 669 bytes
Line 
1// $Id: KernelView.cc 331 2005-06-01 22:06:51Z peter $
2
3#include <c++_tools/svm/KernelView.h>
4
5#include <c++_tools/svm/Kernel.h>
6#include <c++_tools/svm/KernelFunction.h>
7#include <c++_tools/svm/Kernel.h>
8#include <c++_tools/gslapi/matrix.h>
9#include <c++_tools/gslapi/vector.h>
10
11namespace theplu {
12namespace svm { 
13
14KernelView::KernelView(const Kernel& kernel, const std::vector<size_t>& index)
15  : kernel_(&kernel), index_(index)
16{
17  // to view into the original kernel rather than a view
18  //if (kernel.is_view()){
19  //  kernel_=kernel.kernel_;
20  //  for (size_t i=0; i<index.size(); i++)
21  //    index_[i]=kernel.index_[index[i]];
22  //}
23}
24
25KernelView::~KernelView(void)
26{
27} 
28
29}} // of namespace svm and namespace theplu
Note: See TracBrowser for help on using the repository browser.