Math Class
class function PolyEval(const X: float; const Coef: array of float; const N: Integer): float;
Polynomial
Calculates polynomial of degree N.
Note that coefficients are stored in reverse order, ie Coef[0] = C N 2 N y = C + C x + C x +...+ C x 0 1 2 N