Evaluate a polynomial using Horner's scheme.
function polynomial extends baseFunc; input Real c[:] "Polynomial coefficients"; end polynomial;