summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
Commit message (Collapse)AuthorAgeFilesLines
* DOC: Reconcile docstrings and function signatures where they disagreeRobert McGibbon2015-03-021-1/+1
| | | | | Fixed typos in docstrings were updated for functions where the parameter names in the docstring didn't match the function signature.
* MAINT: Remove unused variables and imports in numpy/polynomial/*.py.Charles Harris2014-07-291-4/+2
| | | | Detected by pyflakes.
* STY: PEP8 fixes for files in numpy/polynomial.Charles Harris2014-07-291-32/+32
| | | | | The rather lax standards used in scipy were used to identify the needed style fixups.
* DOC: Cleanup polyutils.py module documentation.Charles Harris2014-03-261-18/+39
| | | | Also note that PolyBase is no longer to be used.
* MAINT: Remove unneeded version checks.Charles Harris2013-04-241-10/+0
| | | | | | Now that only Python versions 2.6-2.7 and 3.2-3.3 are supported some version checks are no longer needed. This patch removes them so as to clean up the code.
* 2to3: Apply `print` fixer.Charles Harris2013-04-061-1/+1
| | | | | | | Add `print_function` to all `from __future__ import ...` statements and use the python3 print function syntax everywhere. Closes #3078.
* Merge pull request #460 from endolith/regex_formattingCharles Harris2013-04-031-1/+1
|\ | | | | DOC: Formatting fixes using regex
| * DOC: regex-assisted fixes of definition list formattingendolith2013-03-191-1/+1
| |
* | 2to3: Use absolute imports.Charles Harris2013-03-281-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new import `absolute_import` is added the `from __future__ import` statement and The 2to3 `import` fixer is run to make the imports compatible. There are several things that need to be dealt with to make this work. 1) Files meant to be run as scripts run in a different environment than files imported as part of a package, and so changes to those files need to be skipped. The affected script files are: * all setup.py files * numpy/core/code_generators/generate_umath.py * numpy/core/code_generators/generate_numpy_api.py * numpy/core/code_generators/generate_ufunc_api.py 2) Some imported modules are not available as they are created during the build process and consequently 2to3 is unable to handle them correctly. Files that import those modules need a bit of extra work. The affected files are: * core/__init__.py, * core/numeric.py, * core/_internal.py, * core/arrayprint.py, * core/fromnumeric.py, * numpy/__init__.py, * lib/npyio.py, * lib/function_base.py, * fft/fftpack.py, * random/__init__.py Closes #3172
* SPELL: Spellcheck the modules. Clarify an example.Charles Harris2012-01-091-2/+2
|
* BUG: Make mapdomain work for multidimensional arrays as advertized inCharles Harris2010-08-111-6/+7
| | | | the documentation. Fixes ticket #1554.
* more docstring updates from pydoc website (thanks to everyone who contributed!)Jarrod Millman2010-02-171-64/+173
|
* 3K: polynomial: exceptions module is removedPauli Virtanen2009-12-061-1/+1
|
* Small cleanups in polynomial modules.Charles Harris2009-11-281-6/+8
|
* Add any function for python < 2.5.Charles Harris2009-11-151-0/+9
|
* Add support for chebyshev series and polynomials.Charles Harris2009-11-141-0/+273
New modules chebyshev and polynomial are added. The new polynomial module is not compatible with the current polynomial support in numpy, but is much like the new chebyshev module. The most noticeable difference to most will be that coefficients are specified from low to high power, that the low level functions do *not* accept the Chebyshev and Polynomial classes as arguements, and that the Chebyshev and Polynomial classes include a domain. Mapping between domains is a linear substitution and the two classes can be converted one to the other, allowing, for instance, a Chebyshev series in one domain to be expanded as a polynomial in another domain. The new modules are not automatically imported into the numpy namespace, they must be explicitly brought in with a "import numpy.polynomial" statement.