Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ENH: Improve the computation of polynomials from roots. | Charles Harris | 2012-02-05 | 6 | -24/+66 |
| | | | | | | | | | The original method was overly sensitive to roundoff. Of the two approaches considered, gauss integration or binary subdivision of the roots, the latter is more compatible with using other number representations such as mpmath. No method is going to be suitable for large numbers of arbitrary zeros but the current method is a significant improvement. | ||||
* | Merge pull request #194 from m-paradox/dtype_names_depr | Mark | 2012-02-05 | 1 | -4/+11 |
|\ | | | | | DEP: Remove dtype names immutability deprecation for 1.7 | ||||
| * | DEP: Remove dtype names immutability deprecation for 1.7 | Mark Wiebe | 2012-02-04 | 1 | -4/+11 |
| | | | | | | | | To be added back after the 1.7 release is branched. | ||||
* | | Merge branch 'replace-old-defines' | Charles Harris | 2012-02-04 | 59 | -758/+825 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * replace-old-defines: DOC: clarify numpy version for removal, document sed script better. STY: Fix up the 2.0 (1.7) release notes. DEP: Deprecate the old_defines.h header and the macros therein. UPDATE: Replace macros in old_defines.h by new. DOC: numpybook - Replace macro names in old_defines.h with new. DOC: Replace references to macros in old_defines with new. STY: Replace more found macros in old_defines.h with new. ENH: Add sed script that replaces macros in old_defines.h. STY: f2py - replace macros in old_defines.h with new. STY: linalg - replace macros in old_defines.h with new. STY: fft - replace macros in old_defines.h with new. STY: lib/src - replace macros in old_defines.h with new. STY: core/src - replace macros in old_defines.h with new versions. | ||||
| * | DOC: clarify numpy version for removal, document sed script better. | Charles Harris | 2012-02-04 | 2 | -2/+12 |
| | | |||||
| * | STY: Fix up the 2.0 (1.7) release notes. | Charles Harris | 2012-02-04 | 1 | -5/+11 |
| | | |||||
| * | DEP: Deprecate the old_defines.h header and the macros therein. | Charles Harris | 2012-02-04 | 5 | -7/+28 |
| | | | | | | | | | | | | The old_defines.h file is no longer included in ndarrayobject.h, but instead in the npy_deprecated_api.h file. It is no longer part of the numpy build and its deprecation is noted in the release notes. | ||||
| * | UPDATE: Replace macros in old_defines.h by new. | Charles Harris | 2012-02-04 | 6 | -34/+34 |
| | | | | | | | | | | With the exception of the numarray fixups these were all instances that were results of code generation. | ||||
| * | DOC: numpybook - Replace macro names in old_defines.h with new. | Charles Harris | 2012-02-04 | 1 | -26/+26 |
| | | |||||
| * | DOC: Replace references to macros in old_defines with new. | Charles Harris | 2012-02-04 | 6 | -133/+21 |
| | | | | | | | | | | Also remove swig support for numpy < 1 from numpy.i since it expects the old macros. | ||||
| * | STY: Replace more found macros in old_defines.h with new. | Charles Harris | 2012-02-04 | 2 | -80/+80 |
| | | |||||
| * | ENH: Add sed script that replaces macros in old_defines.h. | Charles Harris | 2012-02-04 | 1 | -0/+142 |
| | | |||||
| * | STY: f2py - replace macros in old_defines.h with new. | Charles Harris | 2012-02-04 | 9 | -124/+124 |
| | | |||||
| * | STY: linalg - replace macros in old_defines.h with new. | Charles Harris | 2012-02-04 | 1 | -69/+69 |
| | | |||||
| * | STY: fft - replace macros in old_defines.h with new. | Charles Harris | 2012-02-04 | 1 | -12/+12 |
| | | |||||
| * | STY: lib/src - replace macros in old_defines.h with new. | Charles Harris | 2012-02-04 | 1 | -2/+2 |
| | | |||||
| * | STY: core/src - replace macros in old_defines.h with new versions. | Charles Harris | 2012-02-04 | 29 | -269/+269 |
|/ | |||||
* | BUG: fix incorrect exception handling in arrayprint. Closes ticket 2038. | Ralf Gommers | 2012-02-04 | 1 | -1/+1 |
| | |||||
* | DOC: Fix another detail in randn documentation. | Charles Harris | 2012-02-01 | 2 | -4/+4 |
| | |||||
* | STY: Add comment and rename monotonic_ functino to be more descriptive | Mark Wiebe | 2012-01-27 | 1 | -2/+7 |
| | |||||
* | Merge remote-tracking branch 'dwf/release_gil_in_libfunctions' | Mark Wiebe | 2012-01-27 | 1 | -48/+112 |
|\ | |||||
| * | DOC: add a high-level comment for arr_insert_loop | David Warde-Farley | 2012-01-25 | 1 | -0/+8 |
| | | |||||
| * | REF: simplify multi-loop breaking with a goto. | David Warde-Farley | 2011-09-20 | 1 | -4/+4 |
| | | |||||
| * | ENH: release the GIL for arr_insert inner loop. | David Warde-Farley | 2011-09-20 | 1 | -3/+14 |
| | | | | | | | | | | Releases it only conditionally, as object arrays require refcounting to be performed within the inner loop, making GIL release impractical. | ||||
| * | REF: factor out inner loop of arr_insert. | David Warde-Farley | 2011-09-20 | 1 | -32/+44 |
| | | | | | | | | This makes subsequent thread-friendly modification easier. | ||||
| * | ENH: release GIL for C loops in ravel/unravel. | David Warde-Farley | 2011-09-19 | 1 | -14/+36 |
| | | |||||
| * | ENH: Use char instead of int for error flag. | David Warde-Farley | 2011-09-19 | 1 | -1/+1 |
| | | |||||
| * | ENH: less fine-grained GIL management in digitize. | David Warde-Farley | 2011-09-18 | 1 | -13/+10 |
| | | |||||
| * | ENH: release the GIL in some C library functions. | David Warde-Farley | 2011-09-18 | 1 | -0/+14 |
| | | | | | | | | | | | | Sandwich certain potentially long running for loops that don't touch any Python objects between NPY_BEGIN_ALLOW_THREADS and NPY_END_ALLOW_THREADS so that the interpreter can potentially schedule another Python thread. | ||||
* | | TST: Test gradient(...) of datetime64 and timedelta64 arrays. | Ben Root | 2012-01-27 | 1 | -1/+19 |
| | | |||||
* | | ENH: Support datetime64, timedelta64 in gradient. Allow array-like input. | Ben Root | 2012-01-27 | 1 | -2/+11 |
| | | |||||
* | | DOC: Document macro changes in release notes. | Charles Harris | 2012-01-27 | 1 | -0/+9 |
| | | |||||
* | | STY, BUG: Cleanup some macros and move a NULL check. | Alok Singhal | 2012-01-27 | 3 | -44/+44 |
| | | | | | | | | | | | | | | | | | | | | Some macros are changed into statements with the {...}do while(0) construction, while a few others have had the trailing semicolon removed. This makes the macro usage a bit safer and more consistent, but it is possible some third party code will be affected. A NULL check was moved ahead of the spot where the variable is first used. | ||||
* | | DOC: Fix docstrings of rand and randn a bit more and regenerate. | Charles Harris | 2012-01-27 | 2 | -2042/+2044 |
| | | |||||
* | | STY: Merge some error strings into single lines. | Charles Harris | 2012-01-27 | 1 | -12/+12 |
| | | |||||
* | | TST: add a test that itemset raises an exception when the array is not writeable | Warren Weckesser | 2012-01-27 | 1 | -0/+1 |
| | | |||||
* | | BUG: multiarray: in array_setscalar, check that the array is writeable ↵ | Warren Weckesser | 2012-01-27 | 1 | -2/+8 |
| | | | | | | | | (ticket #1622) | ||||
* | | Merge pull request #188 from dwf/getmap_counter_precision_bug | Travis E. Oliphant | 2012-01-24 | 1 | -2/+2 |
|\ \ | | | | | | | BUG: PyArray_{Get,Set}Map counter types are "int", should be "npy_intp" | ||||
| * | | BUG: Fix identical int->npy_intp in PyArray_SetMap | David Warde-Farley | 2012-01-24 | 1 | -1/+1 |
| | | | | | | | | | | | | Thanks to Christoph Gohlke for pointing this out. | ||||
| * | | BUG: PyArray_GetMap using low-precision counter | David Warde-Farley | 2012-01-24 | 1 | -1/+1 |
|/ / | | | | | | | Should be using npy_intp rather than int. | ||||
* | | Merge branch 'ticket_2027' | Mark Wiebe | 2012-01-21 | 3 | -1/+16 |
|\ \ | |||||
| * | | TST: Add a test for ticket #2027 | Mark Wiebe | 2012-01-21 | 1 | -0/+9 |
| | | | |||||
| * | | BUG: einsum: Fix issue #2027, inner loop 3rd data pointer was not being ↵ | Mark Wiebe | 2012-01-21 | 1 | -0/+1 |
| | | | | | | | | | | | | incremented | ||||
| * | | BUG: Change nditer to match documentation about grow_inner flag | Mark Wiebe | 2012-01-21 | 1 | -1/+6 |
|/ / | |||||
* | | PYX: Regenerate mtrand.c | Charles Harris | 2012-01-21 | 1 | -4/+4 |
| | | |||||
* | | Fixed RandomState docstrings. | Joonas Paalasmaa | 2012-01-21 | 1 | -3/+3 |
| | | |||||
* | | BUG: Fix ticket #2021. | Charles Harris | 2012-01-21 | 4 | -18/+63 |
| | | | | | | | | | | | | | | | | | | | | | | | | The return from PyArray_DescrFromObject PyArray_SearchSorted needed to be checked for NULL. Also added checks in other spots where PyArray_DescrFromObject was called. Added regression test for same. Made a few small code cleanups along the way. All the checks may not be necessary, but 1) No one should have to waste brain cycles figuring that out. 2) Bugs happen. 3) Things change. | ||||
* | | STY: Double space between main test functions. | Charles Harris | 2012-01-20 | 1 | -0/+47 |
| | | |||||
* | | TST: Test that 'astype' method works for maskna arrays with masked values. | Charles Harris | 2012-01-20 | 1 | -0/+25 |
| | | |||||
* | | BUG: Make output of 'astype' method a maskna array if source array is. | Charles Harris | 2012-01-20 | 1 | -0/+8 |
| | |