Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1""" 

2A sub-package for efficiently dealing with polynomials. 

3 

4Within the documentation for this sub-package, a "finite power series," 

5i.e., a polynomial (also referred to simply as a "series") is represented 

6by a 1-D numpy array of the polynomial's coefficients, ordered from lowest 

7order term to highest. For example, array([1,2,3]) represents 

8``P_0 + 2*P_1 + 3*P_2``, where P_n is the n-th order basis polynomial 

9applicable to the specific module in question, e.g., `polynomial` (which 

10"wraps" the "standard" basis) or `chebyshev`. For optimal performance, 

11all operations on polynomials, including evaluation at an argument, are 

12implemented as operations on the coefficients. Additional (module-specific) 

13information can be found in the docstring for the module of interest. 

14 

15""" 

16from .polynomial import Polynomial 

17from .chebyshev import Chebyshev 

18from .legendre import Legendre 

19from .hermite import Hermite 

20from .hermite_e import HermiteE 

21from .laguerre import Laguerre 

22 

23from numpy._pytesttester import PytestTester 

24test = PytestTester(__name__) 

25del PytestTester