source: trunk/lib/statistics/KernelTriCube.h @ 382

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