function poly

Create a polynomial

Syntax
result = poly(x, c)

Arguments
x:   An array or real number
c:   The coefficients of the polynomial


Returns
The polynomial of form c[1] + c[2]*x + c[3]*x^2 + ...