Evaluate a polynomial at specific values.
If p has length N, this returns the value p[0]*x**(N-1) + p[1]*x**(N-2) + ... + p[N-2]*x + p[N-1]. Additional dimensions in p are broadcast against x.
p
p[0]*x**(N-1) + p[1]*x**(N-2) + ... + p[N-2]*x + p[N-1]
x
Array of polynomial coefficients along the leading axis, from highest degree to the constant term.
Values at which to evaluate the polynomial.
Evaluate a polynomial at specific values.
If
phas length N, this returns the valuep[0]*x**(N-1) + p[1]*x**(N-2) + ... + p[N-2]*x + p[N-1]. Additional dimensions inpare broadcast againstx.