source
misc
horner.hpp
Go to the documentation of this file.
1
6
#ifndef HORNER_HPP
7
#define HORNER_HPP 1
8
9
#include <vector>
10
11
using
std::vector;
12
18
double
horner
(
const
vector<double> coef_list,
double
x);
19
20
#endif // HORNER_HPP
horner
double horner(const vector< double > coef_list, double x)
Evaluates a polynomial using the horner method.
Definition:
horner.cpp:5
Generated on Thu Jun 4 2020 18:12:15 by
1.8.13