Polynomial Functions

We define polynomials by a combination of a basis, and then coefficients for that basis.

class polyrat.Polynomial(basis, coef)[source]

Define a polynomial function

Parameters:
  • basis (Basis) – An instantiated instance of a basis
  • coef (numpy array) – Coefficients corresponding the ordered basis elements.
derivative(X)[source]

Compute the derivative