summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge pull request #3472 from juliantaylor/load-libCharles Harris2013-06-251-11/+5
|\ \ \ \ | |/ / / |/| | | BUG: add module extensions to load_library search list
| * | | BUG: add module extensions to load_library search listJulian Taylor2013-06-251-11/+5
|/ / / | | | | | | | | | | | | on mac, windows and linux (with >= py3.2) shared libraries and loadable module have different extensions, so check both for all platforms.
* | | Merge pull request #3466 from juliantaylor/vectorize-boolCharles Harris2013-06-232-7/+60
|\ \ \ | | | | | | | | vectorize boolean reductions
| * | | ENH: vectorize boolean reductionsJulian Taylor2013-06-232-0/+54
| | | | | | | | | | | | | | | | | | | | Improves performance by a factor of 5 to 10 depending on the cpu. These operations currently can't be autovectorized by gcc 4.8.
| * | | MAINT: make binary_scalar2 static and put __m128i into a templateJulian Taylor2013-06-231-7/+6
| | | |
* | | | Merge pull request #3429 from juliantaylor/copy-unrollCharles Harris2013-06-234-2/+40
|\ \ \ \ | |_|/ / |/| | | ENH: tell gcc to unroll strided copy loops
| * | | ENH: tell gcc to unroll strided copy loopsJulian Taylor2013-06-134-2/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The strided copy loops profit a lot from unrolling as the number of operations executed is in each iterations very small. GCC needs to be told explicitly to do unrolling even on O3. Unrolling is only profitable if the move can be done in a single instruction, else the increased code size makes it slower, thus the flag is only used for operations on element sizes less equal the native pointer size. Tested to improve performance of by 20-50% on intel core2duo, xeon 5xxx/7xxx and amd phenom x4.
* | | | Merge pull request #3460 from charris/fix-polynomial-companion-matricesCharles Harris2013-06-2012-6/+102
|\ \ \ \ | | |/ / | |/| | BUG: Campanion Matrix was scalar, not matrix for degree 1.
| * | | BUG: Campanion Matrix was scalar, not matrix for degree 1.Charles Harris2013-06-2012-6/+102
|/ / / | | | | | | | | | | | | | | | | | | | | | The companion matrices returned by the various polynomial types was a scalar in the degree one case instead of a 2-D array. Fix that and add a test to check for that result. Closes #3459.
* | | Merge pull request #3455 from Hoops/copy_and_swap_stride_dstCharles Harris2013-06-191-7/+6
|\ \ \ | | | | | | | | Possible memory overwrite in copy_and_swap
| * | | Call to byte_swap_vector should use dst, not d1, because this isAndrew Horton2013-06-161-7/+6
| | | | | | | | | | | | | | | | | | | | modified by the call to the strided memcpy and will end up pointing after the end of the destination buffer in that case.
* | | | Merge pull request #3456 from juliantaylor/uninitialized-useCharles Harris2013-06-191-3/+2
|\ \ \ \ | | | | | | | | | | BUG: fix uninitialized-use on invalid sort kind
| * | | | BUG: fix uninitialized-use on invalid sort kindJulian Taylor2013-06-191-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | orign is unset at that point but used in the fail goto, can probably only be triggered by using the C-api wrong.
* | | | | Merge pull request #3453 from seberg/fix-enhanced-dtype-detectionCharles Harris2013-06-173-28/+35
|\ \ \ \ \ | |/ / / / | | | | | BUG: Fix failing python long behaviour and possible heisen bug
| * | | | BUG: Fix failing python long behaviour and possible heisen bugSebastian Berg2013-06-173-28/+35
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | The priority error fixes np.float_(64) + python_long not working anymore. The second change reformats the PyArray_GetAttrString_SuppressException to avoid a possible heisenbug decrefing an object before use.
* | | | Merge pull request #3448 from efiring/ma_compressCharles Harris2013-06-162-2/+21
|\ \ \ \ | | | | | | | | | | BUG: np.ma.compress treated inputs in wrong order; closes #2495
| * | | | BUG: np.ma.compress treated inputs in wrong order; closes #2495Eric Firing2013-06-162-2/+21
| | | | |
* | | | | Merge pull request #3447 from efiring/ma_mvoid_lenCharles Harris2013-06-162-0/+7
|\ \ \ \ \ | | | | | | | | | | | | BUG: add __len__ method to ma.mvoid; closes #576
| * | | | | BUG: add __len__ method to ma.mvoid; closes #576Eric Firing2013-06-162-0/+7
|/ / / / /
* | | | | Merge pull request #3436 from juliantaylor/vectorize-boolCharles Harris2013-06-164-10/+262
|\ \ \ \ \ | | | | | | | | | | | | ENH: vectorize boolean logical &&, ||, abs and not
| * | | | | ENH: vectorize boolean logical &&, ||, abs and notJulian Taylor2013-06-144-10/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code ensures the result is identical to a boolean operation even though this might be unnecessary if bools are used correctly everywhere. The overhead doesn't matter much as vectorizing single byte operations hits the memory bandwidth limit very quickly. Improves performance by about a factor of 5 to 10 depending on the cpu. These operations currently can't be autovectorized by gcc 4.8.
* | | | | | Merge pull request #3449 from efiring/mvoid_setitemCharles Harris2013-06-162-3/+32
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | BUG: field assignment in masked array did not reset mask; closes #2403
| * | | | | BUG: field assignment in masked array did not reset mask; closes #2403Eric Firing2013-06-152-3/+32
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous behavior when setting a field after indexing to select an element was suitable for the hard mask case, but not for the default soft mask. In addition, the _hardmask value was not being set at all in the mvoid instance. With this changeset, the _hardmask is passed in and __setitem__ takes it into account.
* | | | | Merge PR-3444 from 'jmozmoz:master' into master.Ralf Gommers2013-06-161-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/numpy/numpy/pull/3444 Fixed compilation with Cygwin.
| * | | | | MAINT: fix compilation issue gh-3443.jmozmoz2013-06-161-2/+2
|/ / / / /
* | | | | Merge pull request #3445 from juliantaylor/revert-x86-unaligned-accessCharles Harris2013-06-151-2/+7
|\ \ \ \ \ | |/ / / / |/| | | | BUG: Revert "ENH: enable unaligned loads on x86"
| * | | | BUG: Revert "ENH: enable unaligned loads on x86"Julian Taylor2013-06-161-2/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit aef286debfd11a62f1c337dea55624cee7fd4d9e. x86 platform works with unaligned access but the compiler is allowed to assume all data is aligned to its size by the C standard. This means it can vectorize instructions peeling only by the size of the type, if the data is not aligned to this size one ends up with data not correctly aligned for SSE instructions (16 byte). So this flag can only be enabled if autovectorization is disabled.
* | | | Merge pull request #3440 from WarrenWeckesser/bug-ma-averageCharles Harris2013-06-152-68/+117
|\ \ \ \ | | | | | | | | | | BUG: ma: ma.average didn't handle complex arrays correctly (issue gh-2684)
| * | | | BUG: ma: ma.average didn't handle complex arrays correctly (issue gh-2684)Warren Weckesser2013-06-152-9/+52
| | | | |
| * | | | MAINT: ma: clean up ma/test_extras.py: don't use 'import *'; PEP8 whitespaceWarren Weckesser2013-06-151-61/+67
| | | | |
* | | | | Merge pull request #3438 from kumanna/masterCharles Harris2013-06-151-17/+17
|\ \ \ \ \ | | | | | | | | | | | | Fix minor typos in Polynomial class documentation
| * | | | | Fix minor typos in Polynomial class documentationKumar Appaiah2013-06-151-17/+17
|/ / / / / | | | | | | | | | | | | | | | Signed-Off-By: Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
* | | | | Merge pull request #3432 from fhs/lstsq-docCharles Harris2013-06-141-3/+3
|\ \ \ \ \ | |_|/ / / |/| | | | DOC: fix typo in linalg.lstsq doc string
| * | | | DOC: another minor tweak of linalg.lstsq doc stringFazlul Shahriar2013-06-131-1/+2
| | | | |
| * | | | DOC: minor tweak of linalg.lstsq doc stringFazlul Shahriar2013-06-131-2/+1
| | | | |
| * | | | DOC: fix typo in linalg.lstsq doc stringFazlul Shahriar2013-06-131-2/+2
| | |/ / | |/| |
* | | | Merge pull request #3435 from zabbarob/patch-1njsmith2013-06-141-3/+2
|\ \ \ \ | |_|/ / |/| | | Updated info about sphinx.ext.autosummary.
| * | | Updated info about sphinx.ext.autosummary.Robert Costa2013-06-141-3/+2
|/ / /
* | | Merge pull request #3431 from WarrenWeckesser/mtrand-hypergeom-edge-caseseberg2013-06-133-252/+259
|\ \ \ | |/ / |/| | ENH: random: Allow ngood=0 or nbad=0 in mtrand.hypergeometric.
| * | ENH: random: Allow ngood=0 or nbad=0 in mtrand.hypergeometric.Warren Weckesser2013-06-133-252/+259
|/ / | | | | | | | | Also edited the 'Parameters' section of the docstring to comply with the numpy docstring standard.
* | Merge pull request #3410 from m-d-w/enh_np_array0.1njsmith2013-06-125-65/+275
|\ \ | | | | | | ENH: Optimize array creation by avoiding errors
| * \ Merge branch 'enh_np_array0.1' of https://github.com/m-d-w/numpy into ↵m-d-w2013-06-100-0/+0
| |\ \ | | | | | | | | | | | | enh_np_array0.1
| | * | ENH: Optimize array creation by avoiding errorsm-d-w2013-06-101-1/+1
| | | |
| | * | Merge branch 'enh_np_array0.1' of https://github.com/m-d-w/numpy into ↵m-d-w2013-06-100-0/+0
| | |\ \ | | | | | | | | | | | | | | | enh_np_array0.1
| | | * | ENH: Optimize array creation by avoiding errorsm-d-w2013-06-101-3/+3
| | | | |
| | | * | ENH: Optimize array creation by avoiding errorsm-d-w2013-06-100-0/+0
| | | |\ \
| | | | * | ENH: Optimize array creation by avoiding errorsm-d-w2013-06-101-6/+11
| | | | | |
| | | | * | ENH: Optimize array creation by avoiding errorsm-d-w2013-06-101-3/+0
| | | | | |
| | | | * | ENH: Optimize array creation by avoiding errorsm-d-w2013-06-101-0/+3
| | | | |\ \
| | | | | * \ Merge branch 'enh_np_array0.1' of https://github.com/m-d-w/numpy into ↵m-d-w2013-06-071-0/+3
| | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | enh_np_array0.1