summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
* Add missing underscore to prototype in check_embedded_lapackMalcolm Smith2018-04-161-1/+1
|
* Merge pull request #10875 from mattip/fix-issue7895Charles Harris2018-04-152-2/+43
|\ | | | | BUG: fix savetxt, loadtxt for '+-' in complex
| * BUG: fix savetxt, loadtxt for '+-' in complexmattip2018-04-102-2/+43
| |
* | Merge pull request #10907 from mattip/test_polynomial-doctestsCharles Harris2018-04-151-18/+18
|\ \ | | | | | | TST: reactivate module docstring tests, fix float formatting
| * | TST: reactivate module docstring tests, fix float formattingmattip2018-04-151-18/+18
| | |
* | | Merge pull request #10903 from subhrm/10902-docu-fixCharles Harris2018-04-151-1/+1
|\ \ \ | |/ / |/| | DOC: Fix link in `See Also` section of `randn` docstring.
| * | Fixes #10902: Changed `See Also` doc-string section of `randn`Subhendu Ranjan Mishra2018-04-131-1/+1
| | |
* | | Merge pull request #10867 from Carreau/link-fullStefan van der Walt2018-04-142-26/+32
|\ \ \ | | | | | | | | DOC: Cross-reference full/full_like in a few "See Also" sections.
| * | | 'remove indirect relationships'Matthias Bussonnier2018-04-092-24/+0
| | | |
| * | | Cross Link full/full_like in a few see-also.Matthias Bussonnier2018-04-092-22/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While teaching numpy I was asked the best way to create an array of nan, and `np.full` seem not be cross linked from many places; In particular in the documentation of `zeros` and `ones` seam like obvious candidates to add them. Reorder all the see-also to be - empty_like - ones_like - zero_like - full_like - empty - ones - zeros - full
* | | | DOC, BUG : Bad link to `np.random.randint` (#10901)Subhendu2018-04-131-1/+1
| |/ / |/| | | | | | | | | | | | | | * fixes #10886 : Bad link to `np.random.randint` * Issue #10886: Change from `np.random.randint` to `randint` in 'See Also` doc-string section of mtrand.pyx
* | | Merge pull request #10665 from pv/accumulate-same-nocopyCharles Harris2018-04-121-3/+9
|\ \ \ | | | | | | | | ENH: umath: don't make temporary copies for in-place accumulation
| * | | ENH: umath: don't make temporary copies for in-place accumulationPauli Virtanen2018-04-091-3/+9
| | |/ | |/| | | | | | | Do the operation `ufunc.accumulate(x, out=x)` without temporary copies.
* | | Merge pull request #9980 from eric-wieser/linalg-lstsq-ufuncMarten van Kerkwijk2018-04-115-94/+5214
|\ \ \ | | | | | | | | MAINT: Implement `lstsq` as a `gufunc`
| * | | MAINT: Move lstsq to umath_linalgEric Wieser2018-04-101-50/+14
| | | | | | | | | | | | | | | | | | | | This does not yet enable any broadcasting, but makes doing so in future far easier.
| * | | ENH: Add raw ufuncs to interface to gelsd functionsEric Wieser2018-04-101-8/+94
| | | |
| * | | ENH: Add wrapper functions to allocate workspacesEric Wieser2018-04-101-0/+308
| | | |
| * | | ENH: Add missing cgelsd and sgelsd routineslapack_lite code generator2018-04-104-36/+4798
| | | |
* | | | Merge pull request #10745 from eric-wieser/comparison-object-loopMarten van Kerkwijk2018-04-115-21/+61
|\ \ \ \ | |/ / / |/| | | ENH: Add object loops to the comparison ufuncs
| * | | ENH: Add object loops to the comparison ufuncsEric Wieser2018-04-085-21/+61
| | | | | | | | | | | | | | | | This helps solve RobotLocomotion/drake#8315
* | | | DOC: State in docstring that lexsort is stable (#10873).Pierre Chanial2018-04-101-1/+1
| | | |
* | | | ENH: Improve histogram bins="auto" for data with little variance (#10739)Varun Nayyar2018-04-092-9/+40
| | | | | | | | | | | | Now falls back on sturges estimator when the IQR is zero
* | | | BUG: Fix encoding regression in ma/bench.py (Issue #10868)Jonathan March2018-04-091-0/+2
| | | |
* | | | Merge pull request #10860 from pv/pypyfix-npy-title-keyCharles Harris2018-04-092-2/+39
|\ \ \ \ | |_|/ / |/| | | BUG: core: fix NPY_TITLE_KEY macro on pypy
| * | | BUG: core: fix NPY_TITLE_KEY macro on pypyPauli Virtanen2018-04-082-2/+39
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Pypy, dictionary keys do not necessarily preserve object identity. This however was assumed by the NPY_TITLE_KEY macro, which relies on descriptor.c:568 using the same 'title' object both as a dictionary key as an entry in the tuple inserted. Since the items in the field dict are unique, value identity is however sufficient for the NPY_TITLE_KEY macro. On PyPy, fix the macro by comparing values instead.
* | | Merge pull request #10796 from juliantaylor/inplace-overlapCharles Harris2018-04-091-4/+16
|\ \ \ | |_|/ |/| | BUG: fix wrong inplace vectorization on overlapping arguments
| * | BUG: fix wrong inplace vectorization on overlapping argumentsJulian Taylor2018-03-251-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The input arguments to inplace operations can overlap for accumulate operatation where out[i+1] = in[i] + out[i] This breaks the no loop carried dependency assumptions the compiler has due to the ivdep pragma that is required for GCC to vectorize the loop. Currently this does not harm as accumulate operations are out of place, but future enhancements may change that. Fix this by verifying the arguments do not overlap within a hardware vector size. As we do not know the vector size of future machines use an extremely large value of 1024 bytes (commodity hardware currently has at most 64 bytes)
* | | Merge pull request #10859 from charris/remove-yield-testsCharles Harris2018-04-094-222/+219
|\ \ \ | | | | | | | | MAINT: Remove yield tests
| * | | TST: Remove yield tests from core/tests/test_umath_complex.py.Charles Harris2018-04-081-64/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Just replaces yields with normal function calls. Some of these tests could be parametrized with a bit of reorganization, however, the comments in the tests would have been lost and they seemed worth keeping.
| * | | STY: Some PEP8 fixes in lib/tests/test_twodim_base.py.Charles Harris2018-04-081-16/+17
| | | |
| * | | TST: Remove yield tests in lib/tests/test_twodim_base.py.Charles Harris2018-04-081-12/+12
| | | |
| * | | TST: Remove yield tests from lib/tests/test_index_tricks.py.Charles Harris2018-04-081-65/+71
| | | |
| * | | TST: Replace yield tests in polynomial/tests/test_classes.Charles Harris2018-04-081-65/+49
| | |/ | |/|
* | | Merge pull request #10850 from charris/deprecate-some-importsCharles Harris2018-04-095-9/+39
|\ \ \ | | | | | | | | DEP: Issue deprecation warnings for some imports.
| * | | DEP: Issue deprecation warnings for some imports.Charles Harris2018-04-065-9/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following modules have been moved or renamed and should not be imported. This adds shim modules for the old names that issue a DeprecationWarning on import. * numpy/core/umath_tests.py * numpy/testing/decorators.py * numpy/testing/noseclasses.py * numpy/testing/nosetester.py * numpy/testing/utils.py Closes #10845.
* | | | Merge pull request #10863 from eric-wieser/histogramdd-fixesCharles Harris2018-04-091-33/+22
|\ \ \ \ | |_|/ / |/| | | MAINT: More Histogramdd cleanup
| * | | MAINT: Don't use np.arange just because `range` is shadowedEric Wieser2018-04-081-7/+11
| | | | | | | | | | | | | | | | Creates an alias instead
| * | | MAINT: Use the minlength argument of bincount to avoid a copy into a larger ↵Eric Wieser2018-04-081-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | array The result is left as a float, even though it no longer needs to be, as this commit aims not to change behavior.
| * | | MAINT: Don't reimplement `ravel_multi_index`Eric Wieser2018-04-081-3/+2
| | | |
| * | | MAINT: Don't use a dict with numeric keys when a tuple would do fineEric Wieser2018-04-081-3/+4
| | | |
| * | | MAINT: Remove asarray call on a known arrayEric Wieser2018-04-081-2/+0
| | | |
| * | | MAINT: Remove dead code.Eric Wieser2018-04-081-3/+0
| | | | | | | | | | | | | | | | len(xy) == N, and we already checked if N == 0 above.
| * | | MAINT: Remove pointless axis permutationEric Wieser2018-04-081-9/+3
| | | |
| * | | MAINT: Remove redundant operations in 1d maskingEric Wieser2018-04-081-1/+1
| | | | | | | | | | | | | | | | `x1d[nonzero(mask1d)[0]]` is just a less readable way to spell `x1d[mask1d]`
* | | | Merge pull request #10858 from charris/post-pytest-cleanupCharles Harris2018-04-07129-4169/+194
|\ \ \ \ | | | | | | | | | | MAINT: Post pytest switch cleanup
| * | | | MAINT: Remove now unused pytest_tools.Charles Harris2018-04-066-3465/+0
| | | | |
| * | | | MAINT: Remove all uses of run_module_suite.Charles Harris2018-04-06123-704/+194
| | |/ / | |/| | | | | | | | | | | | | | That function is nose specific and has not worked since `__init__` files were added to the tests directories.
* | | | Merge pull request #10802 from eric-wieser/histogramdd-fixesCharles Harris2018-04-061-44/+41
|\ \ \ \ | |/ / / |/| / / | |/ / BUG/DOC/MAINT: Tidy up histogramdd
| * | BUG: Use intp for indicesEric Wieser2018-04-061-1/+1
| | | | | | | | | | | | Fixes gh-8531
| * | DOC: Document the surprising behaviour of np.histogramdd on array_likesEric Wieser2018-04-061-4/+12
| | |