Last change
on this file since 382 was
382,
checked in by Peter, 18 years ago
|
added todos on Kernel classes
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
652 bytes
|
Line | |
---|
1 | // $Id: KernelBox.h 382 2005-08-12 15:01:26Z 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 | |
---|
9 | namespace theplu { |
---|
10 | namespace statistics { |
---|
11 | |
---|
12 | /// |
---|
13 | /// Class for KernelBox a.k.a. rectangular window. |
---|
14 | /// |
---|
15 | /// @todo move to theplu::statistics::regression namespace |
---|
16 | /// |
---|
17 | class KernelBox : public Kernel |
---|
18 | { |
---|
19 | |
---|
20 | public: |
---|
21 | /// |
---|
22 | /// Constructor |
---|
23 | /// |
---|
24 | KernelBox() ; |
---|
25 | |
---|
26 | /// |
---|
27 | /// Function calculating the weight as \f$ w(x)=1\f$ if \f$|x|\le 1 |
---|
28 | /// \f$, \f$ w(x)=0 \f$ otherwise. |
---|
29 | /// |
---|
30 | double weight(const double) const; |
---|
31 | |
---|
32 | private: |
---|
33 | }; |
---|
34 | |
---|
35 | }} // of namespace statistics and namespace theplu |
---|
36 | |
---|
37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.