11 if((derivOrder > polyOrder) || (polyOrder==0))
15 for(
int k=polyOrder;
k>polyOrder-derivOrder; --
k)
18 return c*std::pow(x, polyOrder-derivOrder);
23 return std::pow(x, order);
26 REGISTER_SCALARBASIS_FAMILY(
Monomial)
Family of monomial polynomials, i.e. () , , , ect. ...)
virtual double DerivativeEvaluate(int const polyOrder, int const derivOrder, double const x) const override
virtual double BasisEvaluate(int const order, double const x) const override
Evaluate the specific basis type (must be implemented by the child)