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

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

bux fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 588 bytes
Line 
1// $Id: KernelBox.h 297 2005-04-29 10:03:53Z 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 { 
11
12  ///
13  /// Class for KernelBox a.k.a. rectangular window.
14  ///
15
16  class KernelBox : public Kernel
17  {
18   
19  public:
20    ///
21    /// Constructor
22    ///
23    KernelBox() ;
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 statistics and namespace theplu
35
36#endif
Note: See TracBrowser for help on using the repository browser.