1 #ifndef HERMITEFUNCTION_H_
2 #define HERMITEFUNCTION_H_
9 namespace Approximation {
26 virtual double BasisEvaluate(
int const order,
double const x)
const override;
29 virtual double DerivativeEvaluate(
int const polyOrder,
int const derivOrder,
double const x)
const override;
33 static unsigned nChoosek(
unsigned n,
unsigned k);
A 1D hermite function based on Physicist Hermite Polynomials.
virtual ~HermiteFunction()=default
virtual double BasisEvaluate(int const order, double const x) const override
Evaluate the hermite function.
HermiteFunction()
Create a polynomial.
std::shared_ptr< PhysicistHermite > polyBase
static unsigned nChoosek(unsigned n, unsigned k)
virtual double DerivativeEvaluate(int const polyOrder, int const derivOrder, double const x) const override