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

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

Added missing virtual destructors.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 582 bytes
Line 
1// $Id: Kernel.h 443 2005-12-15 15:28:37Z jari $
2
3#ifndef _theplu_statistics_kernel_
4#define _theplu_statistics_kernel_
5
6namespace theplu {
7namespace statistics { 
8namespace regression{
9  ///
10  /// Abstract Base Class for calculating the weights in a more
11  /// general way than classical rectangular windows.
12  ///
13
14  class Kernel
15  {
16   
17    public:
18    ///
19    /// Constructor
20    ///
21    inline Kernel(void) {};
22
23    virtual ~Kernel(void) {};
24
25    ///
26    /// Function calculating the weight
27    ///
28    virtual double weight(const double) const=0;
29  };
30
31} // of namespace regression
32} // of namespace statistics
33} // of namespace theplu
34
35#endif
Note: See TracBrowser for help on using the repository browser.