summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11177 from mhvk/gufunc-docs-improvementEric Wieser2018-05-295-13/+27
|\ | | | | DOC: improvement of the documentation for gufunc.
| * DOC: Further clarification of c-api.Marten van Kerkwijk2018-05-291-9/+14
| |
| * DOC: Clarify C-API for generalized ufuncs.mattip2018-05-285-9/+12
| |
| * DOC: improve docs for PyUFunc_FromFuncAndData.mattip2018-05-281-4/+10
| |
* | Merge pull request #11182 from eric-wieser/index-tricks-warningCharles Harris2018-05-292-2/+11
|\ \ | | | | | | BUG: Avoid deprecated non-tuple indexing
| * | BUG: Avoid deprecated non-tuple indexingEric Wieser2018-05-282-2/+11
| | | | | | | | | | | | np.ogrid was not tested anyway, so this was not caught.
* | | Merge pull request #11187 from eric-wieser/einsum-parse-retvalMarten van Kerkwijk2018-05-291-20/+20
|\ \ \ | | | | | | | | MAINT: Use the more common -1 / 0 to indicate error / success
| * | | MAINT: Use the more common -1 / 0 to indicate error / successEric Wieser2018-05-291-20/+20
|/ / / | | | | | | | | | | | | | | | This matches most of the CPython API. Follows on from comments in gh-11095.
* | | Merge pull request #11095 from jaimefrio/einsum_cleanupEric Wieser2018-05-291-245/+151
|\ \ \ | | | | | | | | MAINT: Einsum argument parsing cleanup
| * | | MAINT: Change order of error checking for more code clarity.Jaime Fernandez2018-05-181-58/+51
| | | |
| * | | MAINT: Refactor parse_output_subscripts.Jaime Fernandez2018-05-141-99/+65
| | | |
| * | | MAINT: Avoid creating fake output subscripts.Jaime Fernandez2018-05-141-19/+12
| | | |
| * | | MAINT: Refactor parse_operand_subscripts to avoid repetition.Jaime Fernandez2018-05-141-105/+69
| | | |
| * | | MAINT: Remove unused variable from einsum.Jaime Fernandez2018-05-141-13/+3
| | | |
* | | | Merge pull request #10314 from mhvk/ma-array-finalize-mask-viewEric Wieser2018-05-294-9/+45
|\ \ \ \ | | | | | | | | | | BUG: Ensure __array_finalize__ cannot back-mangle shape
| * | | | MAINT: Replace ma.__setattr__ with dtype and shape overrides.Marten van Kerkwijk2018-05-161-8/+23
| | | | | | | | | | | | | | | | | | | | | | | | | Since dtype and shape are properties, this needs a somewhat ugly super construction; see https://bugs.python.org/issue14965
| * | | | BUG: Ensure __array_finalize__ cannot back-mangle shapeMarten H. van Kerkwijk2018-05-164-3/+24
| | | | |
* | | | | Merge pull request #11140 from mattip/artful-to-bionicMatti Picus2018-05-281-1/+3
|\ \ \ \ \ | |_|_|/ / |/| | | | MAINT: Update artful to bionic for i386 testing
| * | | | MAINT: Update artful to bionic for i386 testingmattip2018-05-281-1/+3
| | | | |
* | | | | Merge pull request #11178 from mhvk/gufunc-signature-testing-improvementEric Wieser2018-05-282-12/+67
|\ \ \ \ \ | |/ / / / |/| | | | TST: Test dimensions/indices found from parsed gufunc signatures.
| * | | | TST: Test dimensions/indices found from parsed gufunc signatures.mattip2018-05-282-12/+67
| | |_|/ | |/| |
* | | | Merge pull request #10938 from eric-wieser/linalg-lstsq-ufuncMarten van Kerkwijk2018-05-282-9/+9
|\ \ \ \ | | | | | | | | | | MAINT: One step closer to vectorizing lstsq
| * | | | MAINT: Always spell "get the last two dims" the same wayEric Wieser2018-04-211-4/+5
| | | | |
| * | | | MAINT: Prepare lstsq for vectorization, by using the last indices in shape, ↵Eric Wieser2018-04-211-4/+3
| | | | | | | | | | | | | | | | | | | | not the first
| * | | | MAINT: Fix typoEric Wieser2018-04-211-1/+1
| | | | |
* | | | | Merge pull request #11180 from seberg/sparc-void-fixCharles Harris2018-05-281-17/+18
|\ \ \ \ \ | | | | | | | | | | | | BUG: void dtype setup checked offset not actual pointer for alignment
| * | | | | BUG: void dtype setup checked offset not actual pointer for alignmentSebastian Berg2018-05-291-17/+18
| | | | | | | | | | | | | | | | | | | | | | | | This commit also adds an assert and closes gh-11088
* | | | | | Merge pull request #11105 from eric-wieser/take_along_axis-strictMarten van Kerkwijk2018-05-287-36/+356
|\ \ \ \ \ \ | |/ / / / / |/| | | | | ENH: Add (put|take)_along_axis
| * | | | | MAINT: rewrite np.ma.(median|sort) to use take_along_axisEric Wieser2018-05-252-33/+13
| | | | | |
| * | | | | ENH: Add (put|take)_along_axis as described in #8708Eric Wieser2018-05-255-3/+343
| | | | | | | | | | | | | | | | | | | | | | | | This is the reduced version that does not allow any insertion of extra dimensions
* | | | | | Merge pull request #11163 from bmwiedemann/sortEric Wieser2018-05-281-4/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT: Work around non-deterministic Python readdir order in distutils
| * | | | | | Sort input file listBernhard M. Wiedemann2018-05-271-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that the python-scikit-learn openSUSE package that uses config.add_extension(name, "path/to/*.cpp", ...) builds in a reproducible way in spite of indeterministic filesystem readdir order and http://bugs.python.org/issue30461 See https://reproducible-builds.org/ for why this is good.
* | | | | | | Merge pull request #10898 from EricCousineau-TRI/prefer-user-copyswapnEric Wieser2018-05-282-3/+12
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | ENH: Have dtype transfer for equivalent user dtypes prefer user-defined `copyswapn`
| * | | | | | ENH: Have dtype transfer for equivalent user dtypes prefer user-defined ↵Eric Cousineau2018-05-182-3/+12
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | `copyswapn`
* | | | | | Merge pull request #9686 from eric-wieser/force-tupleCharles Harris2018-05-274-8/+49
|\ \ \ \ \ \ | | | | | | | | | | | | | | DEP: Deprecate non-tuple nd-indices
| * \ \ \ \ \ Merge branch 'master' into force-tupleEric Wieser2018-05-25369-10679/+15747
| |\ \ \ \ \ \
| * | | | | | | DEP: Deprecate non-tuple multidimensional indicesSebastian Berg2018-05-254-8/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, arr[[None, 0]] and arr[(None, 0)] mean the same thing, yet arr[[0, 0]] and arr[(0, 0)] mean different things. This makes it super hard to make a subclass or duck array that behaves consistently with ndarray. By deprecating this feature, we force downstream library code to stop using it, which in turn makes that library code use approaches that are easier to implement in subclasses and duck types.
* | | | | | | | Merge pull request #11145 from mattip/nep-tweakCharles Harris2018-05-272-1/+14
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | DOC: cleanup NEP creation
| * | | | | | | | setting version confuses circlecimattip2018-05-241-2/+1
| | | | | | | | |
| * | | | | | | | DOC: cleanup NEP creationmattip2018-05-243-2/+16
| | | | | | | | |
* | | | | | | | | Merge pull request #11169 from pv/import-sanitycheckCharles Harris2018-05-271-0/+25
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | MAINT: add sanity-checks to be run at import time
| * | | | | | | | | MAINT: add sanity-checks to be run at import timePauli Virtanen2018-05-271-0/+25
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | This checks for potential BLAS issues, which are useful to catch early.
* | | | | | | | | Merge pull request #11168 from pv/sdot-regrcheckCharles Harris2018-05-271-0/+36
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | TST: linalg: add regression test for gh-8577
| * | | | | | | | | TST: linalg: add regression test for gh-8577Pauli Virtanen2018-05-271-0/+36
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add regression test that checks for certain bugs where results from sdot change if certain libraries are imported first.
* | | | | | | | | Merge pull request #11120 from eric-wieser/simplify-ma-ctorMarten van Kerkwijk2018-05-261-11/+4
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | MAINT: remove redundant code in MaskedArray.__new__
| * | | | | | | | STY: Add blank lineEric Wieser2018-05-261-0/+1
| | | | | | | | |
| * | | | | | | | MAINT: remove redundant code in MaskedArray.__new__Eric Wieser2018-05-181-11/+3
| | | | | | | | |
* | | | | | | | | Merge pull request #11097 from shoyer/timedelta-unitsEric Wieser2018-05-262-2/+23
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | | BUG: fix datetime.timedelta->timedelta64 unit detection logic
| * | | | | | | | TST: Add extra regression tests for gh-11096Eric Wieser2018-05-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Conversion from timedelta was only reliably broken for integer numbers of weeks (including 0)
| * | | | | | | | TST: test for timedelta coersionStephan Hoyer2018-05-241-1/+4
| | | | | | | | |