Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Small correction in the docstring of polyfit. As mentionned in Issue 3640, ↵ | Matthieu Dartiailh | 2013-08-25 | 1 | -3/+3 | |
|/ | | | | the notes were wrong in the order of the index for p. | |||||
* | STY: Giant comma spacing fixup. | Charles Harris | 2013-08-18 | 1 | -7/+7 | |
| | | | | | | | Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long and will need to be broken at some point. OTOH, some lines were already too long and need to be broken at some point. Now seems as good a time as any to do this with open PRs at a minimum. | |||||
* | MAINT: Apply 2to3 idioms fixer. | Charles Harris | 2013-05-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | The idioms fixer makes the following replacements. 1) int <- bool 2) comparison or identity of types <- isinstance 3) a.sort() <- sorted(a) There were two problems that needed to be dealt with after the application of the fixer. First, the replacement of comparison or identity of types by isinstance was not always correct. The isinstance function returns true for subtypes whereas many of the places where the fixer made a substitution needed to check for exact type equality. Second, the sorted function was applied to arrays, but because it treats them as iterators and constructs a sorted list from the result, that is the wrong thing to do. Closes #3062. | |||||
* | 2to3: Apply `print` fixer. | Charles Harris | 2013-04-06 | 1 | -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_formatting | Charles Harris | 2013-04-03 | 1 | -1/+1 | |
|\ | | | | | DOC: Formatting fixes using regex | |||||
| * | DOC: regex-assisted fixes of definition list formatting | endolith | 2013-03-19 | 1 | -1/+1 | |
| | | ||||||
* | | 2to3: Use absolute imports. | Charles Harris | 2013-03-28 | 1 | -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 | |||||
* | 2to3: Put `from __future__ import division in every python file. | Charles Harris | 2013-03-01 | 1 | -0/+2 | |
| | | | | | | | | This should be harmless, as we already are division clean. However, placement of this import takes some care. In the future a script can be used to append new features without worry, at least until such time as it exceeds a single line. Having that ability will make it easier to deal with absolute imports and printing updates. | |||||
* | 2to3: Apply `raise` fixes. Closes #3077. | Charles Harris | 2013-03-01 | 1 | -2/+2 | |
| | | | | | | | | | | Replaces the raise Exception, msg: form with raise Exception(msg): | |||||
* | ENH: Add weights and covariance estimate to standard polyfit. | Travis E. Oliphant | 2011-09-13 | 1 | -18/+47 | |
| | ||||||
* | STY: Fix up some remaining old-style exceptions. | Charles Harris | 2011-04-05 | 1 | -2/+2 | |
| | | | | I think that is the end of it. | |||||
* | STY: Update exception style, easy ones. | Charles Harris | 2011-04-05 | 1 | -13/+13 | |
| | ||||||
* | WHT: Cleanup trailing whitespace. | Charles Harris | 2011-04-02 | 1 | -3/+3 | |
| | ||||||
* | DOC: merge more doc wiki edits. | rgommers | 2011-03-02 | 1 | -12/+10 | |
| | ||||||
* | BUG: Make polyder return a poly1d for the zeroeth order derivative when | Charles Harris | 2010-05-05 | 1 | -8/+9 | |
| | | | | the input is a poly1d. Fixes ticket #1249. | |||||
* | 3K: lib: implement __rtruediv__ for poly1d | Pauli Virtanen | 2010-02-21 | 1 | -0/+2 | |
| | ||||||
* | 3K: lib: poly1d __div__ -> __truediv__, and fix its doctests | Pauli Virtanen | 2010-02-21 | 1 | -0/+2 | |
| | ||||||
* | BUG: Check input to poly for zero-dimensional arrays. | Stefan van der Walt | 2010-02-08 | 1 | -2/+2 | |
| | ||||||
* | fixed a whole bunch of doctests | Paul Ivanov | 2009-12-28 | 1 | -7/+19 | |
| | ||||||
* | Docstring update: lib | Pauli Virtanen | 2009-10-02 | 1 | -86/+227 | |
| | ||||||
* | All non core regressions tests moved to their respective modules. | David Cournapeau | 2009-09-16 | 1 | -2/+1 | |
| | ||||||
* | Move finfo into core. | David Cournapeau | 2009-09-16 | 1 | -2/+1 | |
| | ||||||
* | Fix formatting of complex coefficients in poly1d | Pauli Virtanen | 2009-04-24 | 1 | -7/+17 | |
| | ||||||
* | Fixed #1095: make polyint work well with object arrays | Pauli Virtanen | 2009-04-24 | 1 | -4/+3 | |
| | ||||||
* | Merge from the doc wiki | Pauli Virtanen | 2009-03-24 | 1 | -1/+1 | |
| | ||||||
* | Fix polyint to work correctly with float, complex, and int inputs. | Charles Harris | 2009-03-09 | 1 | -8/+12 | |
| | | | | Fix polydiv to work correctly with float, complex, and int inputs. | |||||
* | Fix ticket #944. | Charles Harris | 2009-03-09 | 1 | -2/+2 | |
| | ||||||
* | Get lstsq and eigvals from numpy.linalg, not from numpy.dual. Addresses ↵ | Pauli Virtanen | 2008-12-13 | 1 | -27/+4 | |
| | | | | Scipy ticket #800 | |||||
* | Import documentation from doc wiki (part 2, work-in-progress docstrings, but ↵ | Pauli Virtanen | 2008-10-28 | 1 | -10/+113 | |
| | | | | they are still an improvement) | |||||
* | Import documentation from doc wiki (part 1) | Pauli Virtanen | 2008-10-27 | 1 | -1/+2 | |
| | ||||||
* | Merge from documentation editor. | Stefan van der Walt | 2008-08-05 | 1 | -128/+412 | |
| | ||||||
* | Use the implicit "import numpy as np" made available to all doctests instead | Alan McIntyre | 2008-07-05 | 1 | -2/+2 | |
| | | | | | of explicit imports or dependency on the local scope where the doctest is defined.. | |||||
* | Reduce numpy's import times by delaying a few time consuming imports to the ↵ | Robert Kern | 2008-07-03 | 1 | -7/+1 | |
| | | | | point of actual use and global instantiations of finfo. Thanks to David Cournapeau for tracking down and fixing the import part of the problem. | |||||
* | Use the implicit "import numpy as np" made available to all doctests instead ↵ | Alan McIntyre | 2008-07-03 | 1 | -1/+0 | |
| | | | | | | | of an explicit import. Remove ">>>" from bartlett plotting example since it currently requires matplotlib. | |||||
* | Clean up polyfit documentation. | Charles Harris | 2008-03-15 | 1 | -38/+49 | |
| | | | | Add documentation for polyval. | |||||
* | Fix polyfit for 2D case and add test for same. Fixes ticket 697. | Charles Harris | 2008-03-15 | 1 | -41/+68 | |
| | ||||||
* | Fix string conversion of polynomial when leading coefficients are | Stefan van der Walt | 2007-08-06 | 1 | -5/+9 | |
| | | | | zero. Closes ticket #564. | |||||
* | Fix polygon division. Closes ticket #553. | Stefan van der Walt | 2007-07-24 | 1 | -1/+1 | |
| | ||||||
* | Fix polynomial comparison. Closes ticket #554. | Stefan van der Walt | 2007-07-24 | 1 | -2/+2 | |
| | ||||||
* | add __neg__ and __pos__ methods to poly1d | cookedm | 2007-06-01 | 1 | -0/+6 | |
| | ||||||
* | Add __iter__ method to poly1d so that list() on a poly1d doesn't go into an ↵ | cookedm | 2007-05-31 | 1 | -0/+3 | |
| | | | | infinite loop | |||||
* | Replace tabs with spaces (see ticket #470). | Stefan van der Walt | 2007-03-22 | 1 | -4/+2 | |
| | ||||||
* | Fix doctests. | Stefan van der Walt | 2007-02-18 | 1 | -1/+1 | |
| | ||||||
* | Fix docstrings for loading with DocFileSuite. | Stefan van der Walt | 2007-02-18 | 1 | -7/+8 | |
| | ||||||
* | Fix polymul bug. | Stefan van der Walt | 2007-02-09 | 1 | -0/+1 | |
| | ||||||
* | Fix ticket #439 --- poly1d objects can now be pickled because an ↵ | Travis Oliphant | 2007-01-30 | 1 | -1/+4 | |
| | | | | AttributeError is raised instead of the old KeyError when __getstate__ is accessed. | |||||
* | clean up unused imports and bad whitespace | Tim Leslie | 2007-01-09 | 1 | -0/+2 | |
| | ||||||
* | Whitespace cleanup. | Stefan van der Walt | 2007-01-08 | 1 | -1/+0 | |
| | ||||||
* | Fix early return in polysub. | Travis Oliphant | 2006-11-22 | 1 | -1/+1 | |
| | ||||||
* | Fix early return in polyadd. | Travis Oliphant | 2006-11-22 | 1 | -1/+1 | |
| |