Polynomial Interpolation PtByPt (Not in Base Package)

Interpolates or extrapolates the function f at x. Details

initialize, when TRUE, initializes the internal state of the VI.
input data y is a set of input data.
input data x is a set of input data.
sample length is the length of each set of incoming data. The VI performs computation for each set of data. The default is 100. sample length must be greater than zero.
x value is the value at which the interpolation is evaluated. The VI retains a history of values used for input data x and input data y since the last reset. If x value is in the range of the history of input data x values, the VI performs interpolation. Otherwise, the VI performs extrapolation. If x value is too far from the range of the history of input data x values, the interpolation error may be large.
interpolation value is the interpolation of the function f at x.
interpolation error is an estimate of the error in the interpolation.
error returns any error or warning condition from the VI. Refer to Point By Point Error Codes for more information about these conditions.

Polynomial Interpolation PtByPt Details

The VI interpolates or extrapolates the function f at x, given a set of n points

,

where

, f is any function, and given a number, x.

The VI calculates output interpolation value

,

where

is the unique polynomial of degree n-1 that passes through the n points .