25#ifndef MATHUTILS_POLYNOMIAL_H
26#define MATHUTILS_POLYNOMIAL_H
62 double operator()(
const double)
const override;
Interface representing a differentiable function.
Represents a polynomial function.
std::vector< double > m_coef
The vector where the polynomial coefficients are stored.
virtual ~Polynomial()=default
Default destructor.
double derivative(const Function &f, const double x)