Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/polynomial/__init__.py @ 87:2a2c65a20a8b
Add Python libs and headers
author | Chris Cannam |
---|---|
date | Wed, 25 Feb 2015 14:05:22 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
86:413a9d26189e | 87:2a2c65a20a8b |
---|---|
1 """ | |
2 A sub-package for efficiently dealing with polynomials. | |
3 | |
4 Within the documentation for this sub-package, a "finite power series," | |
5 i.e., a polynomial (also referred to simply as a "series") is represented | |
6 by a 1-D numpy array of the polynomial's coefficients, ordered from lowest | |
7 order 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 | |
9 applicable to the specific module in question, e.g., `polynomial` (which | |
10 "wraps" the "standard" basis) or `chebyshev`. For optimal performance, | |
11 all operations on polynomials, including evaluation at an argument, are | |
12 implemented as operations on the coefficients. Additional (module-specific) | |
13 information can be found in the docstring for the module of interest. | |
14 | |
15 """ | |
16 from __future__ import division, absolute_import, print_function | |
17 | |
18 from .polynomial import Polynomial | |
19 from .chebyshev import Chebyshev | |
20 from .legendre import Legendre | |
21 from .hermite import Hermite | |
22 from .hermite_e import HermiteE | |
23 from .laguerre import Laguerre | |
24 | |
25 from numpy.testing import Tester | |
26 test = Tester().test | |
27 bench = Tester().bench |