MATH.PolynomialValue (FUN)

 

(CAA_Mathematics.library)

This function block evaluates a given polynomial math_image105.png of arbitrary degree,

math_image107.png (with math_image109.png) at a point math_image038.png by use of the Horner scheme. The return of type LREAL is the evaluated value.

Input:

siDegree

SINT

degree of polynomial

plr

POINTER TO LREAL

pointer to Array of polynomial coefficients; at first there is the coefficient of the monomial of highest degree (corresponds to math_image112.png in the formula)

lrValue

LREAL

point math_image114.png where polynomial has to be evaluated