source: trunk/src/RegressionKernelBox.cc @ 216

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

RegressionLocal? added

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 367 bytes
Line 
1// $Id: RegressionKernelBox.cc 216 2004-12-29 09:29:54Z peter $
2
3#include "RegressionKernelBox.h"
4
5#include "RegressionKernel.h"
6
7namespace theplu {
8namespace statistics {
9
10  RegressionKernelBox::RegressionKernelBox(void)
11    : RegressionKernel()
12  {
13  }
14
15  double RegressionKernelBox::weight(const double u) const
16  {
17    if (u>1 || u<-1)
18      return 0.0;
19    else
20      return 1.0;
21  }
22
23}} // of namespace statistics and namespace theplu
Note: See TracBrowser for help on using the repository browser.