source: trunk/lib/statistics/KernelBox.h @ 389

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

moved kernel to regression namespace and tried to fix some dox issues

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 705 bytes
Line 
1// $Id: KernelBox.h 389 2005-08-15 11:37:07Z peter $
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  /// @todo move to theplu::statistics::regression namespace
17  ///
18  class KernelBox : public Kernel
19  {
20   
21  public:
22    ///
23    /// Constructor
24    ///
25    KernelBox() ;
26
27    ///
28    /// Function calculating the weight as \f$ w(x)=1\f$ if \f$|x|\le 1
29    /// \f$, \f$ w(x)=0 \f$ otherwise.
30    ///
31    double weight(const double) const;
32 
33  private:
34  };
35
36} // of namespace regression
37} // of namespace statistics
38} // of namespace theplu
39
40#endif
Note: See TracBrowser for help on using the repository browser.