polynomial#

swordfish.function.polynomial()#

Apply the polynomial coefficient vector coeffs on each element of X. Return a vector of the same length as X.

参数:
  • X (Constant) -- A scalar/vector.

  • coeffs (Constant) -- A vector indicating the coefficients of a polynomial.