source: trunk/c++_tools/statistics/KernelBox.h @ 575

Last change on this file since 575 was 443, checked in by Jari Häkkinen, 17 years ago

Added missing virtual destructors.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 643 bytes
Line 
1// $Id: KernelBox.h 443 2005-12-15 15:28:37Z jari $
2
3
4#ifndef _theplu_statistics_regression_kernel_box_
5#define _theplu_statistics_regression_kernel_box_
6
7#include <c++_tools/statistics/Kernel.h>
8
9namespace theplu {
10namespace statistics { 
11namespace regression{
12
13  ///
14  /// Class for KernelBox a.k.a. rectangular window.
15  ///
16  class KernelBox : public Kernel
17  {
18   
19  public:
20    ///
21    /// Constructor
22    ///
23    KernelBox(void);
24
25    ///
26    /// Function calculating the weight as \f$ w(x)=1\f$ if \f$|x|\le 1
27    /// \f$, \f$ w(x)=0 \f$ otherwise.
28    ///
29    double weight(const double) const;
30 
31  private:
32  };
33
34} // of namespace regression
35} // of namespace statistics
36} // of namespace theplu
37
38#endif
Note: See TracBrowser for help on using the repository browser.