Evaluates a polynomial using Horner's method. More...
#include <vector>
Go to the source code of this file.
Functions | |
double | horner (const vector< double > coef_list, double x) |
Evaluates a polynomial using the horner method. More... | |
Evaluates a polynomial using Horner's method.
Definition in file horner.hpp.
double horner | ( | const vector< double > | coef_list, |
double | x | ||
) |
Evaluates a polynomial using the horner method.
coef_list | List of coefficients |
x | Abscissa |
Definition at line 5 of file horner.cpp.