POLY

The POLY function evaluates a polynomial function of a variable. The result is equal to:

C 0 + C 1 x + C 2 x 2 + ...

This routine is written in the IDL language. Its source code can be found in the file poly.pro in the lib subdirectory of the IDL distribution.

Calling Sequence

Result = POLY( X, C )

Arguments

X

The variable. This value can be a scalar, vector or array.

C

The vector of polynomial coefficients. The degree of the polynomial is N_ELEMENTS( C ) - 1.

See Also

FZ_ROOTS