summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11695 from eric-wieser/missing-PyErr_NoMemoryCharles Harris2018-08-092-0/+3
|\ | | | | BUG: Add missing PyErr_NoMemory after failing malloc
| * BUG: Add missing PyErr_NoMemory after failing mallocEric Wieser2018-08-082-0/+3
| |
* | Merge pull request #11691 from charris/fix_matrix_power_regressionMatti Picus2018-08-082-61/+90
|\ \ | |/ |/| BUG: Make matrix_power again work for object arrays.
| * BUG: Make matrix_power again work for object arrays.Charles Harris2018-08-082-61/+90
| | | | | | | | | | | | | | | | | | This fixes a regression introduced in #10985. Using matmul instead of dot lost the object type while adding the ability to deal with matrix stacks. This implements a partial fix by using dot for 2-D object arrays, but object array stacks cannot be handled. Closes #11635.
* | Merge pull request #11673 from sotte/mention_geomspace_in_linspace_docsMatti Picus2018-08-081-1/+4
|\ \ | | | | | | DOC: Add geomspace to "See also" of linspace
| * | DOC: Add geomspace to "See also" of linspaceStefan Otte2018-08-071-1/+4
| | |
* | | Merge pull request #11692 from charris/remove-duplicate-codeMatti Picus2018-08-081-5/+0
|\ \ \ | | | | | | | | MAINT: Remove duplicate code.
| * | | MAINT: Remove duplicate code.Charles Harris2018-08-081-5/+0
| | |/ | |/| | | | | | | | | | The definition of `_complex_types_map` was repeated in the linalg.py file.
* | | Merge pull request #11670 from mattip/refactor-mapping-iteratorSebastian Berg2018-08-081-14/+14
|\ \ \ | | | | | | | | MAINT: trivially refactor mapped indexing
| * | | MAINT: trivially refactor mapped indexingmattip2018-08-061-14/+14
| | |/ | |/|
* | | DOC: Replace <type 'exceptions.ValueError'> with ValueErrorTaylor Smith2018-08-081-1/+1
| | | | | | | | | | | | | | | Replaced <type 'exceptions.ValueError'> with ValueError in the outdated broadcasting documentation
* | | DOC: Update broadcasting documentationTaylor Smith2018-08-081-4/+5
| | | | | | | | | | | | | | | | | | | | | The exception details in the broadcast documentation were old and have since been updated. This commit changes the documentation to reflect the current exception details when a shape mismatch is raised.
* | | Merge pull request #11594 from convexset/handle-empty-matrices-lstsqMatti Picus2018-08-072-5/+35
|\ \ \ | |_|/ |/| | ENH: support for empty matrices in linalg.lstsq
| * | ENH: support for empty matrices in linalg.lstsqJeremy Chen2018-08-032-5/+35
| | |
* | | Merge pull request #11669 from charris/fix-void_getitem-regressionEric Wieser2018-08-062-1/+8
|\ \ \ | |_|/ |/| | BUG: Fix regression in `void_getitem`
| * | BUG: Fix regression in void_getitemCharles Harris2018-08-062-1/+8
| | | | | | | | | | | | | | | | | | The return value for a void array was not correct. Closes #11668.
* | | Merge pull request #11615 from seberg/clip_orderMarten van Kerkwijk2018-08-042-14/+39
|\ \ \ | | | | | | | | BUG: Clip uses wrong memory order in output
| * | | ENH: clip test output argument for memory overlap with inputSebastian Berg2018-07-272-14/+29
| | | |
| * | | BUG: Clip uses wrong memory order in outputSebastian Berg2018-07-272-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixes two smaller typos in the test where the wrong arrays were compared Closes gh-11605
* | | | Merge pull request #11535 from eric-wieser/fix-6511Charles Harris2018-08-032-33/+53
|\ \ \ \ | |_|/ / |/| | | MAINT: Improve memory usage in PEP3118 format parsing
| * | | MAINT: Improve memory usage in PEP3118 format parsingEric Wieser2018-07-232-33/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously a local `Stream` class would be defined every time a format needed parsing. Classes in cpython create reference cycles, which create load on the GC. This may or may not resolve gh-6511
* | | | Merge pull request #11299 from eric-wieser/ma-fieldless-dtypeAllan Haldane2018-08-022-21/+35
|\ \ \ \ | |_|_|/ |/| | | BUG: Prevent crashes on 0-length structured void scalars
| * | | BUG: Prevent crashes on 0-length structured void scalarsEric Wieser2018-06-102-21/+35
| | | |
* | | | Merge pull request #11595 from mattip/warn-scalar-minimumCharles Harris2018-08-012-3/+11
|\ \ \ \ | | | | | | | | | | BUG:warn on Nan in minimum,maximum for scalars, float16
| * | | | BUG:warn on Nan in minimum,maximum for scalarsmattip2018-07-232-3/+11
| | | | |
* | | | | Merge pull request #11503 from jor-/masterMatti Picus2018-08-012-7/+33
|\ \ \ \ \ | | | | | | | | | | | | MAINT: improve error message for isposinf and isneginf on complex values
| * | | | | ENH: isposinf and isneginf now also works for values which can not be ↵Joscha Reimer2018-07-301-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | converted to arrays
| * | | | | API: isposinf and isneginf now raise TypeError instead of ValueError for ↵Joscha Reimer2018-07-302-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | complex values
| * | | | | TEST: numpy.lib.ufunclike: isposinf and isneginf are tested with complex ↵Joscha Reimer2018-07-271-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | values whether exception is raised
| * | | | | DOC: numpy.lib.ufunclike: typo fixedJoscha Reimer2018-07-271-2/+2
| | | | | |
| * | | | | BUG: isposinf and isneginf now raise an exception for complex valuesJoscha Reimer2018-07-261-3/+13
| | | | | |
| * | | | | Revert "BUG: isposinf and isneginf now also work with complex values"Joscha Reimer2018-07-261-17/+2
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4e2dd4140e2a7220ef645665a7ce6381493d273d.
| * | | | | Revert "TEST: isposinf and isneginf is now also tested with complex values"Joscha Reimer2018-07-261-19/+17
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit cd8ffcf11f7d31e383d81112c4bb342ac0269fc8.
| * | | | | TEST: isposinf and isneginf is now also tested with complex valuesJoscha Reimer2018-07-051-17/+19
| | | | | |
| * | | | | BUG: isposinf and isneginf now also work with complex valuesJoscha Reimer2018-07-051-2/+17
| | | | | |
* | | | | | Merge pull request #11652 from eric-wieser/ctypes-dtype-coercion-fixCharles Harris2018-08-012-1/+73
|\ \ \ \ \ \ | | | | | | | | | | | | | | BUG: Ensure singleton dimensions are not dropped when converting ctype arrays to dtypes
| * | | | | | BUG: Ensure singleton dimensions are not dropped when converting ctype ↵Eric Wieser2018-07-312-1/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arrays to dtypes This fixes #11636 Also adds xfailing tests for related issues
* | | | | | | Merge pull request #11638 from eric-wieser/remove-ma.expand_dimsRalf Gommers2018-07-314-52/+23
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | ENH: Make expand_dims work on subclasses
| * | | | | | | TST: Add tests for expand_dimsEric Wieser2018-07-302-0/+17
| | | | | | | |
| * | | | | | | ENH: Make expand_dims work on subclassesEric Wieser2018-07-292-52/+6
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | This allows np.ma.expand_dims to be removed
* | | | | | | Merge pull request #11637 from eric-wieser/simplify-angleCharles Harris2018-07-312-8/+21
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | ENH: np.angle: Remove unnecessary multiplication, and allow subclasses to pass through
| * | | | | | | DOC: Add versionchanged about subclassesEric Wieser2018-07-311-0/+3
| | | | | | | |
| * | | | | | | ENH: np.angle: Preserve subclassesEric Wieser2018-07-302-1/+11
| | | | | | | |
| * | | | | | | STY: Remove C-like parenthesesEric Wieser2018-07-301-1/+1
| | | | | | | |
| * | | | | | | MAINT: np.angle: Fix type of default argument to match docsEric Wieser2018-07-301-1/+1
| | | | | | | |
| * | | | | | | MAINT: np.angle: Remove unnecessary multiplicationEric Wieser2018-07-301-5/+5
| |/ / / / / /
* | | | | | | Merge pull request #11634 from jeremymanning/masterCharles Harris2018-07-311-0/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Filter Cython warnings in __init__.py
| * | | | | | | ignore cython warnings in initJeremy Manning2018-07-291-0/+5
| | | | | | | |
* | | | | | | | ENH: handle empty matrices in qr decomposition (#11593)Jeremy Chen2018-07-312-19/+26
| | | | | | | | | | | | | | | | | | | | | | | | Ensure LWORK and LDA respect the requirements of the lapack methods (zgeqrf, dgeqrf, zungqr, dorgqr)
* | | | | | | | Merge pull request #11630 from MSeifert04/add_versionadded_to_isnat_docsMatti Picus2018-07-291-0/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | [DOC]: Include the versionadded to the isnat documentation.