8 #ifndef SRC_POLYNOMIAL_H_ 9 #define SRC_POLYNOMIAL_H_ 26 for(
const auto& coefficient : coefficients)
28 value= value + coefficient*pow(argument,degree);
40 for(
const auto& coefficient : coefficients)
Polynomial(const std::deque< double > &coefficients)
Polynomial integrate() const
double operator()(const double &argument) const
std::deque< double > coefficients