polynFunc(p)

Converts a vector representing a polynomial into a function.

pThe vector that represents the polynomial.

x = -1..0.01..1; f = polynFunc([1,0,1]); plot(x, f(#x))
x = -1.5..0.01..1.5; f = polynForRoots([-1,1,0]).polynFunc(); plot(x, f(#x));