summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | MAINT: avoid setting non-existing gufunc strides for keepdims=True.Marten van Kerkwijk2018-05-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Corrects an overzealous change from the fixed core dimensions to the ones expanded for keepdims=True.
* | | | | | | | Merge pull request #11173 from mhvk/gufunc-avoid-wasting-time-writing-parserMatti Picus2018-05-301-14/+35
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | MAINT: Ensure that parsing errors are passed on even in tests.
| * | | | | | | MAINT: Ensure that parsing errors are passed on even in tests.Marten van Kerkwijk2018-05-291-14/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid it wasting a few hours of someone else's time if they edit the gufunc signature parser.
* | | | | | | | Merge pull request #10142 from mhvk/pending-deprecation-for-matrixCharles Harris2018-05-299-0/+75
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | DEP: Pending deprecation warning for matrix
| * | | | | | | TST: Ignore PendingDeprecationWarning in matrixlib tests.Marten van Kerkwijk2018-05-298-0/+64
| | | | | | | |
| * | | | | | | DEP: give PendingDeprecationWarning for use of the matrix subclass.Marten van Kerkwijk2018-05-291-0/+11
| | | | | | | |
* | | | | | | | Merge pull request #11184 from eric-wieser/dragon4-bithelpersMatti Picus2018-05-291-28/+40
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | MAINT: Add bitmask helper functions
| * | | | | | | MAINT: Add bitmask helper functionsAllan Haldane2018-05-281-28/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids the need to count the number of Fs
* | | | | | | | Merge pull request #11186 from eric-wieser/format_float_OSprintf_gMatti Picus2018-05-292-1/+93
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | TST: Add np.core._multiarray_tests.format_float_OSprintf_g
| * | | | | | | | TST: Add np.core._multiarray_tests.format_float_OSprintf_gEric Wieser2018-05-282-1/+93
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For development/testing purposes, it's convenient to have access to the system printf for floats. This is a very simple printf interface.
* | | | | | | | Merge pull request #11185 from eric-wieser/setup_common-commentsMatti Picus2018-05-291-0/+6
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | MAINT: Add comments to long_double detection code
| * | | | | | | | MAINT: Add comments to long_double detection codeAllan Haldane2018-05-281-0/+6
| |/ / / / / / /
* | | | | | | | Merge branch 'master' into npzfile-mappinEric Wieser2018-05-2998-2133/+3876
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Merge pull request #11177 from mhvk/gufunc-docs-improvementEric Wieser2018-05-291-1/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | DOC: improvement of the documentation for gufunc.
| | * | | | | | | DOC: Clarify C-API for generalized ufuncs.mattip2018-05-281-1/+1
| | | |/ / / / / | | |/| | | | |
| * | | | | | | 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.
| * | | | | | | | 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 #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-285-36/+337
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | | 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-253-3/+324
| | | |_|_|_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-281-3/+6
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / | |/| | | | | | | | | | 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-181-3/+6
| | | |_|_|/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `copyswapn`
| * | | | | | | | | | Merge pull request #9686 from eric-wieser/force-tupleCharles Harris2018-05-272-2/+31
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | DEP: Deprecate non-tuple nd-indices
| | * \ \ \ \ \ \ \ \ \ Merge branch 'master' into force-tupleEric Wieser2018-05-25285-9457/+14112
| | |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | DEP: Deprecate non-tuple multidimensional indicesSebastian Berg2018-05-252-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | | | | 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.
| * | | | | | | | | | | | 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
| | | | | | | | | | | |