43 const size_t degree(
m_bk.size() - 3);
44 assert(c.size() >= degree + 1);
46 m_bk.resize(degree + 3);
47 std::fill(
m_bk.begin(),
m_bk.end(), 0.0);
48 for (
size_t i = 0; i <= degree; ++i) {
49 const size_t k = degree - i;
std::vector< double > m_bk
double operator()(const std::vector< double > &c, const double x)
ChebyshevSeries(const size_t degree)
Constructor for an n-th order polynomial.