orthax.orthmulx

orthax.orthmulx(c, rec, mode='full')Source

Multiply an orthogonal series by x.

Multiply the polynomial c by x, where x is the independent variable.

Parameters:
  • c (array_like) – 1-D array of series coefficients ordered from low to high.

  • rec (AbstractRecurrenceRelation) – Recurrence relation for the family of orthogonal polynomials.

  • 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.