summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Improve the computation of polynomials from roots.Charles Harris2012-02-056-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_deprMark2012-02-051-4/+11
|\ | | | | DEP: Remove dtype names immutability deprecation for 1.7
| * DEP: Remove dtype names immutability deprecation for 1.7Mark Wiebe2012-02-041-4/+11
| | | | | | | | To be added back after the 1.7 release is branched.
* | Merge branch 'replace-old-defines'Charles Harris2012-02-0459-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 Harris2012-02-042-2/+12
| |
| * STY: Fix up the 2.0 (1.7) release notes.Charles Harris2012-02-041-5/+11
| |
| * DEP: Deprecate the old_defines.h header and the macros therein.Charles Harris2012-02-045-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 Harris2012-02-046-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 Harris2012-02-041-26/+26
| |
| * DOC: Replace references to macros in old_defines with new.Charles Harris2012-02-046-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 Harris2012-02-042-80/+80
| |
| * ENH: Add sed script that replaces macros in old_defines.h.Charles Harris2012-02-041-0/+142
| |
| * STY: f2py - replace macros in old_defines.h with new.Charles Harris2012-02-049-124/+124
| |
| * STY: linalg - replace macros in old_defines.h with new.Charles Harris2012-02-041-69/+69
| |
| * STY: fft - replace macros in old_defines.h with new.Charles Harris2012-02-041-12/+12
| |
| * STY: lib/src - replace macros in old_defines.h with new.Charles Harris2012-02-041-2/+2
| |
| * STY: core/src - replace macros in old_defines.h with new versions.Charles Harris2012-02-0429-269/+269
|/
* BUG: fix incorrect exception handling in arrayprint. Closes ticket 2038.Ralf Gommers2012-02-041-1/+1
|
* DOC: Fix another detail in randn documentation.Charles Harris2012-02-012-4/+4
|
* STY: Add comment and rename monotonic_ functino to be more descriptiveMark Wiebe2012-01-271-2/+7
|
* Merge remote-tracking branch 'dwf/release_gil_in_libfunctions'Mark Wiebe2012-01-271-48/+112
|\
| * DOC: add a high-level comment for arr_insert_loopDavid Warde-Farley2012-01-251-0/+8
| |
| * REF: simplify multi-loop breaking with a goto.David Warde-Farley2011-09-201-4/+4
| |
| * ENH: release the GIL for arr_insert inner loop.David Warde-Farley2011-09-201-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-Farley2011-09-201-32/+44
| | | | | | | | This makes subsequent thread-friendly modification easier.
| * ENH: release GIL for C loops in ravel/unravel.David Warde-Farley2011-09-191-14/+36
| |
| * ENH: Use char instead of int for error flag.David Warde-Farley2011-09-191-1/+1
| |
| * ENH: less fine-grained GIL management in digitize.David Warde-Farley2011-09-181-13/+10
| |
| * ENH: release the GIL in some C library functions.David Warde-Farley2011-09-181-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 Root2012-01-271-1/+19
| |
* | ENH: Support datetime64, timedelta64 in gradient. Allow array-like input.Ben Root2012-01-271-2/+11
| |
* | DOC: Document macro changes in release notes.Charles Harris2012-01-271-0/+9
| |
* | STY, BUG: Cleanup some macros and move a NULL check.Alok Singhal2012-01-273-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 Harris2012-01-272-2042/+2044
| |
* | STY: Merge some error strings into single lines.Charles Harris2012-01-271-12/+12
| |
* | TST: add a test that itemset raises an exception when the array is not writeableWarren Weckesser2012-01-271-0/+1
| |
* | BUG: multiarray: in array_setscalar, check that the array is writeable ↵Warren Weckesser2012-01-271-2/+8
| | | | | | | | (ticket #1622)
* | Merge pull request #188 from dwf/getmap_counter_precision_bugTravis E. Oliphant2012-01-241-2/+2
|\ \ | | | | | | BUG: PyArray_{Get,Set}Map counter types are "int", should be "npy_intp"
| * | BUG: Fix identical int->npy_intp in PyArray_SetMapDavid Warde-Farley2012-01-241-1/+1
| | | | | | | | | | | | Thanks to Christoph Gohlke for pointing this out.
| * | BUG: PyArray_GetMap using low-precision counterDavid Warde-Farley2012-01-241-1/+1
|/ / | | | | | | Should be using npy_intp rather than int.
* | Merge branch 'ticket_2027'Mark Wiebe2012-01-213-1/+16
|\ \
| * | TST: Add a test for ticket #2027Mark Wiebe2012-01-211-0/+9
| | |
| * | BUG: einsum: Fix issue #2027, inner loop 3rd data pointer was not being ↵Mark Wiebe2012-01-211-0/+1
| | | | | | | | | | | | incremented
| * | BUG: Change nditer to match documentation about grow_inner flagMark Wiebe2012-01-211-1/+6
|/ /
* | PYX: Regenerate mtrand.cCharles Harris2012-01-211-4/+4
| |
* | Fixed RandomState docstrings.Joonas Paalasmaa2012-01-211-3/+3
| |
* | BUG: Fix ticket #2021.Charles Harris2012-01-214-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 Harris2012-01-201-0/+47
| |
* | TST: Test that 'astype' method works for maskna arrays with masked values.Charles Harris2012-01-201-0/+25
| |
* | BUG: Make output of 'astype' method a maskna array if source array is.Charles Harris2012-01-201-0/+8
| |