The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_math1
Class: None
Declaration: function Polynomial (Coeff: array of double; NOrd: integer; X: double): double;

The function Polynomial calculates the polynomial of order NOrd at the position X. The coefficients of the polynomial are specified by the array parameter Coeff:

Y = Coeff[0] + Coeff[1]*X + Coeff[2]*X2 + ...... + Coeff[NOrd]*XNOrd

The parameter NOrd may assume values between 0 and High(Coeff).

Last Update: 2018-Oct-23