11 if((derivOrder > polyOrder) || (polyOrder==0))
23 return (2.0*
k-1.0) /
k;
31 return (
k-1.0)/double(
k);
43 return 2.0/(2.0*polyOrder + 1.0);
47 REGISTER_SCALARBASIS_FAMILY(
Legendre)
Family of Legendre orthogonal polynomials.
virtual double ak(unsigned int k) const override
Implement .
virtual double DerivativeEvaluate(int const polyOrder, int const derivOrder, double const x) const override
virtual double phi1(double x) const override
Implement .
virtual double bk(unsigned int k) const override
Implement .
virtual double ck(unsigned int k) const override
Implement .
virtual double Normalization(unsigned int polyOrder) const override
virtual double phi0(double x) const override
Implement .
Legendre()
A Legendre polynomial ( , , , ect. ...)
A 1D orthogonal polynomial.
virtual double BasisEvaluate(int const order, double const x) const override
Evaluate the specific polynomial type (must be implemented by the child)