#include "xf_fintech/polyfit.hpp"
template < typename DT, unsigned int D > DT polyval ( const DT coeff [D], const DT x )
Calculates the polynomial evaluation of a set of coefficients at the point ‘x’.
Parameters:
DT | |
: | The data type to be used. |
D | |
: | The degree of the polynomial |
coeff | |
: | The list of polynomial coefficients calculated with polyfit. |
x | |
: | The point at which the polynomial should be evaluated. |