MUQ  0.4.3
Legendre.h
Go to the documentation of this file.
1 #ifndef LEGENDRE_H_
2 #define LEGENDRE_H_
3 
5 
6 namespace muq {
7  namespace Approximation {
8 
13  class Legendre : public OrthogonalPolynomial {
14  public:
15 
17 
20  Legendre();
21 
22  virtual ~Legendre();
23 
24  virtual double DerivativeEvaluate(int const polyOrder, int const derivOrder, double const x) const override;
25 
26  virtual double Normalization(unsigned int polyOrder) const override;
27 
28  private:
29 
30  virtual double ak(unsigned int k) const override;
31  virtual double bk(unsigned int k) const override;
32  virtual double ck(unsigned int k) const override;
33  virtual double phi0(double x) const override;
34  virtual double phi1(double x) const override;
35 
36  };
37  } // namespace Approximation
38 } // namespace muq
39 
40 #endif
Family of Legendre orthogonal polynomials.
Definition: Legendre.h:13
virtual double ak(unsigned int k) const override
Implement .
Definition: Legendre.cpp:22
virtual double DerivativeEvaluate(int const polyOrder, int const derivOrder, double const x) const override
Definition: Legendre.cpp:9
virtual double phi1(double x) const override
Implement .
Definition: Legendre.cpp:38
virtual double bk(unsigned int k) const override
Implement .
Definition: Legendre.cpp:26
virtual double ck(unsigned int k) const override
Implement .
Definition: Legendre.cpp:30
virtual double Normalization(unsigned int polyOrder) const override
Definition: Legendre.cpp:42
virtual double phi0(double x) const override
Implement .
Definition: Legendre.cpp:34
Legendre()
A Legendre polynomial ( , , , ect. ...)
Definition: Legendre.cpp:5