summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: .gitignore += generated umath/loops.hKirill Smelkov2014-07-271-1/+1
| | | | | | | | | Commit 494abcf1 (ENH: speed-up minimum, maximum and xor for bool dtype) reworked numpy/core/src/umath/loops.h to be autogenerated at build time, but forgot to update .gitignore. Fix it, so that the now-autogenerated loops.h do not constantly show as untracked in git status output.
* DOC: remove obsolete NA documentation pageJulian Taylor2014-07-271-11/+0
|
* DOC: add some missing ma functions to referenceJulian Taylor2014-07-271-0/+3
| | | | closes gh-4898
* DOC: document behavior of ma.sort(endswith=) for unmasked min/max valuesJulian Taylor2014-07-271-0/+4
| | | | see gh-4422
* DOC: add version added tag to reduction keepdims argumentJulian Taylor2014-07-271-0/+2
|
* DOC: fix documented return value of tostring/tobytesJulian Taylor2014-07-271-10/+12
| | | | The function returns bytes not strings. This is relevant in python3.
* MAINT: add common source indexer files to .gitignoreJulian Taylor2014-07-271-0/+6
| | | | ignore cscope and gnu global files
* DOC: add ascontiguousarray and asarray_chkfinite to appropriate sectionJulian Taylor2014-07-271-0/+2
| | | | | added to "Changing kind of array" with the other as* functions Closes gh-4890
* DOC: document non-integer reduce axis argument deprecationJulian Taylor2014-07-271-0/+5
|
* DOC: clarify that umfpack, fftw and djbfft are not used by numpyJulian Taylor2014-07-271-2/+2
| | | | | their presence in site.cfg is only for the benefit of third party packages using numpy.distutils
* BUG: object array np.conjugate, ndarray.conjugate inconsistentEric Moore2014-07-232-1/+38
| | | | fixes gh-4730
* DOC: fix return shape of tensorinv docFrederic2014-07-171-1/+1
|
* ENH: avoid meshgrid and fancy indexing for 1d masked sortJulian Taylor2014-07-161-8/+20
| | | | | Improves performance by using the simple indexing path and memory by avoiding creating a full meshgrid.
* Merge pull request #4454 from jurnix/namedargsJulian Taylor2014-06-082-4/+19
|\ | | | | ENH: apply_along_axis accepts named arguments
| * PEP8 nitpicksjurnix2014-06-061-4/+7
| |
| * ENH: apply_along_axis accepts named argumentsAlbert2014-03-272-4/+16
| |
* | Merge pull request #4793 from juliantaylor/sha256-sumsJulian Taylor2014-06-081-2/+23
|\ \ | | | | | | BLD: compute sha256 sums of build artifacts
| * | BLD: compute sha256 sums of build artifactsJulian Taylor2014-06-081-2/+23
| | | | | | | | | | | | | | | | | | | | | Using a secure hash allows verifying ther binaries from a gpg signed README.txt. MD5 just kept for legacy users who may not be able to obtain a sha256 utility.
* | | Merge pull request #4792 from Juanlu001/piecewise-fixJulian Taylor2014-06-082-20/+22
|\ \ \ | |/ / |/| | Piecewise fix for 0d
| * | BUG: Fixed piecewise function for 0d inputJuan Luis Cano Rodríguez2014-06-082-20/+22
|/ / | | | | | | | | | | | | | | | | | | When `x` has more than one element the condlist `[True, False]` is being made equivalent to `[[True, False]]`, which is correct. However, when `x` is zero dimensional the expected condlist is `[[True], [False]]`: this commit addresses the issue. Besides, the documentation stated that there could be undefined values but actually these are 0 by default: using `nan` would be desirable, but for the moment the docs were corrected. Closes #331.
* | Merge pull request #4789 from juliantaylor/release-notes-19b1Julian Taylor2014-06-082-149/+144
|\ \ | | | | | | DOC: add some highlights to release notes
| * | DOC: add some highlights to release notes and reorganizeJulian Taylor2014-06-082-149/+144
| | | | | | | | | | | | | | | also minor general documentation fixes [ci skip]
* | | Merge pull request #4786 from juliantaylor/cross-styleJulian Taylor2014-06-082-29/+75
|\ \ \ | | | | | | | | MAINT: improve readablility of cross and improve test coverage
| * | | MAINT: improve readablility of cross and improve test coverageJulian Taylor2014-06-072-29/+75
| |/ /
* | | Merge pull request #4790 from juliantaylor/log2-windowsJulian Taylor2014-06-082-1/+51
|\ \ \ | | | | | | | | BUG: improve log2 windows compiler fallback of log2
| * | | BUG: improve log2 windows compiler fallback of log2Julian Taylor2014-06-082-1/+51
| |/ / | | | | | | | | | | | | | | | | | | | | | Fallback (similar to python3.4 math.log2) provides int(log(2**i)) == i in default rounding mode. Non-default rounding modes not tested but if it does not work we are at least not worse than python. Closes gh-4787
* | | Merge pull request #4788 from jaimefrio/unique_nonarrayJulian Taylor2014-06-082-7/+11
|\ \ \ | |/ / |/| | BUG: Correct behavior for lists of tuples in unique, closes #4785
| * | BUG: Correct behavior for lists of tuples in unique, closes #4785jaimefrio2014-06-062-7/+11
|/ / | | | | | | | | | | | | | | np.unique produces wrong results when passed a list of tuples and no keyword arguments, as it fails to recognize it as a multidim array, but handles it as a 1D array of objects. The only way around this seems to be to completely eliminate the fast path for non-array inputs using `set`.
* | Merge pull request #4784 from jaimefrio/iter-dealloc-gufuncCharles Harris2014-06-041-2/+1
|\ \ | | | | | | BUG: Avoid double iterator deallocation in `ufunc_object.c`
| * | BUG: Avoid double iterator deallocation in `ufunc_object.c`jaimefrio2014-06-041-2/+1
| | | | | | | | | | | | | | | | | | | | | In `PyUFunc_GeneralizedFunction`, whenever a call to `NpyIter_GetIterNext` fails, `NpyIter_Deallocate` is called twice, one right after the error check, the second in the `goto fail`. Removed the first one.
* | | Merge pull request #4783 from juliantaylor/flat-assign-improveCharles Harris2014-06-041-4/+1
|\ \ \ | |/ / |/| | ENH: use copyswap instead of memmove for flat assignment
| * | ENH: use copyswap instead of memmove for flat assignmentJulian Taylor2014-06-051-4/+1
| | | | | | | | | | | | | | | | | | | | | improves d.flat = x performance by about 35% for basic types as the copyswap functions have known elementsizes and these are implemented optimally by the compiler while for the generic call the compiler needs to call out to libc.
* | | Merge pull request #4782 from juliantaylor/where-string-fixCharles Harris2014-06-042-4/+18
|\ \ \ | |/ / |/| | BUG: fix where not filling string types properly
| * | BUG: fix where not filling string types properlyJulian Taylor2014-06-052-4/+18
| | | | | | | | | | | | | | | | | | | | | the copyswap part of where used the input arrays descriptions to copy into the destination so if they had a smaller size the destination was not properly padded with zeros. Closes gh-4778
* | | Merge pull request #4781 from juliantaylor/cpucaps-buildCharles Harris2014-06-042-0/+17
|\ \ \ | | | | | | | | BLD: add a simple python file to build cpucaps.dll
| * | | BLD: add a simple python file to build cpucaps.dllJulian Taylor2014-06-042-0/+17
| |/ / | | | | | | | | | | | | | | | using scons seems to fail with wine 1.6, but one only needs to run three commands so its simpler to just put these into a script instead of trying to debug scons.
* | | Merge pull request #4777 from juliantaylor/byteswap-alignCharles Harris2014-06-041-3/+3
|\ \ \ | |/ / |/| | BUG: check alignment of strides for byteswap
| * | BUG: check alignment of strides for byteswapJulian Taylor2014-06-041-3/+3
|/ / | | | | | | closes gh-4774
* | Merge pull request #4773 from juliantaylor/win-testfixCharles Harris2014-06-031-22/+35
|\ \ | | | | | | BUG: fix test deleting temporary file before using it on windows
| * | TST: add a format 2.0 roundtrip testJulian Taylor2014-06-031-0/+7
| | |
| * | BUG: fix test deleting temporary file before using it on windowsJulian Taylor2014-06-031-22/+28
|/ / | | | | | | | | | | | | The version check was not valid for python3, though the whole logic can be removed with a finally clause. This requires that the savez tests need to cleanup the NpyzFile results which still hold an open file descriptor.
* | Merge pull request #4772 from juliantaylor/scope-redCharles Harris2014-06-031-10/+8
|\ \ | | | | | | MAINT: reduce scope of some variables in indexing code
| * | MAINT: reduce scope of some variables in indexing codeJulian Taylor2014-06-031-10/+8
|/ / | | | | | | | | also improves code generation with gcc-4.8 leading up to a 10% performance increase on some cpus by removing a stack spill.
* | Merge pull request #4760 from juliantaylor/masked-medianCharles Harris2014-06-025-23/+80
|\ \ | | | | | | ENH: rewrite ma.median to improve poor performance for multiple dimensions
| * | ENH: use masked median for small multidimensional nanmediansJulian Taylor2014-06-022-2/+36
| | |
| * | ENH: rewrite ma.median to improve poor performance for multiple dimensionsJulian Taylor2014-06-022-16/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | many masked median along a small dimension is extremely slow due to the usage of apply_along_axis which iterates fully in python. The unmasked median is about 1000x faster. Work around this issue by using indexing to select the median element instead of apply_along_axis. Further improvements are possible, e.g. using the current np.nanmedian approach for masked medians along large dimensions so partition is used instead of sort or to extend partition to allow broadcasting over multiple elements. Closes gh-4683.
| * | ENH: use sparse meshgrid instead of indices().tolist()Julian Taylor2014-06-021-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | tolist() converts numpy integers to python integers which are converted back to numpy integers by the indexing. meshgrid(indexing='ij') returns the indices wanted here as the right type. triples performance of sorting a size=(200, 200, 50) array along axis 2 and reduces memory usage by almost 40%.
* | | Merge pull request #4765 from juliantaylor/npyformat-2.0Charles Harris2014-06-023-34/+202
|\ \ \ | | | | | | | | ENH: add storage format 2.0 with 4 byte header size
| * | | ENH: add storage format 2.0 with 4 byte header length sizeJulian Taylor2014-06-023-34/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new format only increases the header length field to 4 bytes. allows storing structured arrays with a large number of named columns. The dtype serialization for these can exceed the 2 byte header length field required by the 1.0 format. The generic functions automatically use the 2.0 format if the to be stored data requires it. To avoid unintentional incompatibilies a UserWarning is emitted when this happens. If the format is not required the more compatible 1.0 format is used. Closes gh-4690
* | | | Merge pull request #4770 from charris/meshgrid-doc-maintenanceJulian Taylor2014-06-021-4/+7
|\ \ \ \ | |_|/ / |/| | | DOC: Fix indentation and add missing blank lines for meshgrid doc.