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