budget/utilities/polynomialFunction.h
2022-09-16 18:57:28 -05:00

26 lines
374 B
C++

//
// Created by quentin on 9/13/22.
//
#ifndef BUDGET_POLYNOMIALFUNCTION_H
#define BUDGET_POLYNOMIALFUNCTION_H
#include <vector>
namespace Budget::Utilities {
class PolynomialFunction {
private:
public:
explicit PolynomialFunction(std::vector<double> a);
double get(double x);
private:
std::vector<double> a;
};
}
#endif //BUDGET_POLYNOMIALFUNCTION_H