orthax.polynomial.polymulx
- orthax.polynomial.polymulx(c, mode='full')Source
Multiply a polynomial by x.
Multiply the polynomial c by x, where x is the independent variable.
- Parameters:
c (array_like) – 1-D array of polynomial coefficients ordered from low to high.
mode ({"full", "same"}) – If “full”, output has shape (len(c) + 1). If “same”, output has shape (len(c)), possibly truncating high order modes.
- Returns:
out (ndarray) – Array representing the result of the multiplication.