__init__.py 1.1 KB

123456789101112131415161718192021222324252627
  1. """
  2. A sub-package for efficiently dealing with polynomials.
  3. Within the documentation for this sub-package, a "finite power series,"
  4. i.e., a polynomial (also referred to simply as a "series") is represented
  5. by a 1-D numpy array of the polynomial's coefficients, ordered from lowest
  6. order term to highest. For example, array([1,2,3]) represents
  7. ``P_0 + 2*P_1 + 3*P_2``, where P_n is the n-th order basis polynomial
  8. applicable to the specific module in question, e.g., `polynomial` (which
  9. "wraps" the "standard" basis) or `chebyshev`. For optimal performance,
  10. all operations on polynomials, including evaluation at an argument, are
  11. implemented as operations on the coefficients. Additional (module-specific)
  12. information can be found in the docstring for the module of interest.
  13. """
  14. from __future__ import division, absolute_import, print_function
  15. from .polynomial import Polynomial
  16. from .chebyshev import Chebyshev
  17. from .legendre import Legendre
  18. from .hermite import Hermite
  19. from .hermite_e import HermiteE
  20. from .laguerre import Laguerre
  21. from numpy._pytesttester import PytestTester
  22. test = PytestTester(__name__)
  23. del PytestTester