MATH.PolynomialValue (FUN)
(CAA_Mathematics.library)
This function block evaluates a given polynomial of arbitrary degree,
(with ) at a point 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 in the formula)
|
lrValue
|
LREAL
|
point where polynomial has to be evaluated
|