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
Id
|
File size:
692 bytes
|
Line | |
---|
1 | // $Id: KernelTriCube.h 389 2005-08-15 11:37:07Z peter $ |
---|
2 | |
---|
3 | |
---|
4 | #ifndef _theplu_statistics_kernel_tricube_ |
---|
5 | #define _theplu_statistics_kernel_tricube_ |
---|
6 | |
---|
7 | #include <c++_tools/statistics/Kernel.h> |
---|
8 | |
---|
9 | |
---|
10 | namespace theplu { |
---|
11 | namespace statistics { |
---|
12 | namespace regression { |
---|
13 | |
---|
14 | /// |
---|
15 | /// Class for TriCubal kernel. |
---|
16 | /// |
---|
17 | /// @todo move to theplu::statistics::regression namespace |
---|
18 | /// |
---|
19 | class KernelTriCube : public Kernel |
---|
20 | { |
---|
21 | |
---|
22 | public: |
---|
23 | /// |
---|
24 | /// Constructor |
---|
25 | /// |
---|
26 | KernelTriCube() ; |
---|
27 | |
---|
28 | /// |
---|
29 | /// Function calculating the weight as \f$ w(x)=(1-|x|^3)^3\f$ if |
---|
30 | /// \f$|x|\le 1 \f$, \f$ w(x)=0 \f$ otherwise. |
---|
31 | /// |
---|
32 | double weight(const double) const; |
---|
33 | |
---|
34 | private: |
---|
35 | }; |
---|
36 | |
---|
37 | } // of namespace regression |
---|
38 | } // of namespace statistics |
---|
39 | } // of namespace theplu |
---|
40 | |
---|
41 | |
---|
42 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.