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

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

corrected name of KernelBox?

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 607 bytes
Line 
1// $Id: KernelBox.h 296 2005-04-29 09:34:37Z peter $
2
3
4#ifndef _theplu_statistics_regression_kernel_box_
5#define _theplu_statistics_regression_kernel_box_
6
7#include "RegressionKernel.h"
8
9namespace theplu {
10namespace statistics { 
11
12  ///
13  /// Class for KernelBox a.k.a. rectangular window.
14  ///
15
16  class RegressionKernelBox : public RegressionKernel
17  {
18   
19  public:
20    ///
21    /// Constructor
22    ///
23    RegressionKernelBox() ;
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.