__init__.py 1.0 KB

12345678910111213141516171819202122232425
  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 .polynomial import Polynomial
  15. from .chebyshev import Chebyshev
  16. from .legendre import Legendre
  17. from .hermite import Hermite
  18. from .hermite_e import HermiteE
  19. from .laguerre import Laguerre
  20. from numpy._pytesttester import PytestTester
  21. test = PytestTester(__name__)
  22. del PytestTester