summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Fixed C++ guard in f2py test.siavashserver2018-03-091-2/+2
|
* Merge pull request #10689 from freakboy3742/iOS-compatCharles Harris2018-03-085-11/+34
|\ | | | | BLD: Add configuration changes to allow cross platform builds for iOS.
| * DOC: Added release note for iOS build changes.Russell Keith-Magee2018-03-091-1/+13
| |
| * BLD: Add configuration to allow cross platform builds for iOS.Russell Keith-Magee2018-03-044-10/+21
| | | | | | | | | | | | | | | | When building NumPy for iOS, you build on macOS, with compiler flags to target iOS or the iOS simulator. However, setup.py runs on macOS, so sys.platform == 'darwin', regardless of the platform being targetted. distutils provides an environment variable - _PYTHON_HOST_PLATFORM - to indicate when you are building for a different platform. This patches uses that variable to identify cross-platform builds and disable macOS specific features. The patch also renames an internal method in strfuncs to avoid a collision with a symbol in iOS's standard library, and includes math.h to avoid errors about undefined symbols.
* | Merge pull request #10711 from charris/fix-hard-tabsCharles Harris2018-03-0811-120/+121
|\ \ | | | | | | MAINT: Hard tab and whitespace cleanup.
| * | MAINT: Hard tab and whitespace cleanup.Charles Harris2018-03-0811-120/+121
| | |
* | | Merge pull request #10698 from ahaldane/fix_0d_object_subclass_againCharles Harris2018-03-082-13/+47
|\ \ \ | |/ / |/| | BUG: Further back-compat fix for subclassed array repr (forward port)
| * | BUG: Further back-compat fix for subclassed array reprAllan Haldane2018-03-052-13/+47
| | | | | | | | | | | | Fixes #10663
* | | Merge pull request #10708 from bobeldering/f2py-multilineCharles Harris2018-03-082-2/+56
|\ \ \ | | | | | | | | BUG: fix problem with modifing pyf lines containing ';' in f2py
| * | | TST: test handling ';' in multiline and enhancement lines, numpy.f2pyBob Eldering2018-03-081-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | Regression tests for bug discussed in pull request #10676. Lines matching the multiline or f2py enhancement pattern should not be split by ';'.
| * | | BUG: fix for splitting a multiline or enhancement by ';' in numpy.f2py.Bob Eldering2018-03-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | The variable line was assigned to before checking whether it contains a multiline or f2py enhancement pattern. In these cases the line should not be split by ';'. See pull request #10676.
* | | | Merge pull request #10694 from lumbric/patch-2Charles Harris2018-03-081-1/+1
|\ \ \ \ | | | | | | | | | | DOC: Improve docstring of memmap
| * | | | DOC: Improve docstring of memmaplumbric2018-03-051-1/+1
| | |/ / | |/| | | | | | See also 8a38f64.
* | | | Merge pull request #10710 from louispotok/select-error-messageCharles Harris2018-03-081-1/+1
|\ \ \ \ | | | | | | | | | | BUG: fix error message in numpy.select
| * | | | BUG: fix error message in numpy.selectLouis Potok2018-03-081-1/+1
| | |/ / | |/| |
* | | | ENH: Allow dtype field names to be unicode in Python2 (#10672)Chris Billington2018-03-083-6/+33
| | | | | | | | | | | | ENH: Allow dtype field names to be ascii encoded unicode in Python2
* | | | Merge pull request #10703 from njsmith/nep-nep-nepCharles Harris2018-03-0816-20/+33
|\ \ \ \ | |/ / / |/| | | NEP process updates
| * | | Write down a formal procedure for declaring a NEP "accepted"Nathaniel J. Smith2018-03-081-2/+8
| | | |
| * | | Assign numbers to all existing NEPsNathaniel J. Smith2018-03-0815-18/+25
|/ / /
* | | Merge pull request #10699 from ahaldane/fixup_gradient_docstringCharles Harris2018-03-061-3/+3
|\ \ \ | |/ / |/| | DOC: Grammar of np.gradient docstring
| * | DOC: Grammar of np.gradient docstringAllan Haldane2018-03-061-3/+3
|/ / | | | | | | [ci-skip]
* | Merge pull request #10691 from shoyer/mixins-version-adddedCharles Harris2018-03-041-0/+2
|\ \ | | | | | | DOC: add versionadded for NDArrayOperatorsMixin.
| * | DOC: add versionadded for NDArrayOperatorsMixin.Stephan Hoyer2018-03-041-0/+2
|/ /
* | MAINT: Covariance must be symmetric as well as positive-semidefinite. (#10669)Oleg Zabluda2018-03-041-7/+8
| | | | | | | | | | | | | | | | * [BUG] add "symmetric" to "positive-semidefinite" * Break line, fix comments * break long line
* | BUG: F2py mishandles quoted control characters (#10676)bobeldering2018-03-042-37/+79
|/ | | | | | | | | | | | | | | | | * BUG: improve parsing of quoted control characters in numpy.f2py. See #10634. Fixes a couple of cases where quoted control characters are parsed as if they are unquoted. The control characters considered are "()!;". * TST: quoted characters parsing by numpy.f2py. Basic test of parsing quoted Fortran control characters. See #10634. * BUG: add missing space character when reconstructing fortran line. The missing space caused a line starting with "!f2py" to be considered a continuation line.
* Merge pull request #10679 from NelleV/10611_docstringsCharles Harris2018-03-012-10/+13
|\ | | | | DOC zeros, empty, and ones now have consistent docstrings
| * DOC zeros, empty, and ones now have consistent docstringsNelle Varoquaux2018-03-012-10/+13
| | | | | | | | closes #10611
* | Merge pull request #10547 from hobler/patch-1Charles Harris2018-02-281-1/+1
|\ \ | | | | | | DOC: Fix incorrect formula in gradient docstring.
| * | Update function_base.pyhobler2018-02-081-1/+1
| | |
* | | Merge pull request #10248 from agurusa/installation_notesCharles Harris2018-02-281-0/+5
|\ \ \ | |_|/ |/| | DOC: Add installation notes for Linux users
| * | DOC: Fix some nits in INSTALL.rst.txt.Charles Harris2018-02-281-1/+4
| | | | | | | | | [skip ci]
| * | DOC:Add installation notes for Linux usersAarthi2018-01-261-1/+1
| | |
| * | Update INSTALL.rst.txtAarthi2018-01-261-1/+1
| | |
| * | DOC:Add installation notes for Linux usersagurusa2017-12-201-0/+2
| | |
* | | Merge pull request #8819 from mhvk/gufunc-axis-argumentAllan Haldane2018-02-283-29/+335
|\ \ \ | | | | | | | | ENH: Implement axes keyword argument for gufuncs.
| * | | MAINT: Check operand sizes before doing anything with themMarten van Kerkwijk2018-02-272-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | This ensures we do not have to guard against any operand having fewer dimensions than required by the ufunc in, e.g., _parse_axes_argument.
| * | | DOC: describe axes keyword in ufunc documentation.Marten van Kerkwijk2018-02-271-0/+14
| | | |
| * | | ENH: Implement axes keyword argument for gufuncs.Marten van Kerkwijk2018-02-272-16/+300
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The axes argument allows one to specify the axes on which the gufunc will operate (by default, the trailing ones). It has to be a list with length equal to the number of operands, and each element a tuple of length equal to the number of core dimensions, with each element an axis index. If there is only one core dimension, the tuple can be replaced by a single index, and if none of the outputs have core dimensions, the corresponding empty tuples can be omitted.
* | | | Merge pull request #10677 from andportnoy/flake8-refactorJaime2018-02-281-22/+28
|\ \ \ \ | |/ / / |/| | | STY: Minor stylistic cleanup of numeric.py
| * | | STY: Minor stylistic cleanup of numeric.pyAndrey Portnoy2018-02-281-22/+28
|/ / / | | | | | | | | | No changes to the logic, only minor edits guided by flake8.
* | | Merge pull request #10671 from luzpaz/more-misc-typosEric Wieser2018-02-277-12/+12
|\ \ \ | | | | | | | | DOC/MAINT: More misc. typos
| * | | DOC/MAINT: More misc. typosluz.paz2018-02-277-12/+12
| | | | | | | | | | | | Found via `codespell` and `grep`
* | | | Merge pull request #10661 from hameerabbasi/fix-prod-generatorEric Wieser2018-02-271-65/+30
|\ \ \ \ | |/ / / |/| | | MAINT: Unify reductions in fromnumeric.py
| * | | MAINT: Unify reductions in fromnumeric.pyHameer Abbasi2018-02-261-65/+30
|/ / /
* | | Merge pull request #10658 from eric-wieser/fix-partition-matrixMarten van Kerkwijk2018-02-262-2/+19
|\ \ \ | | | | | | | | BUG: Make np.partition and np.sort work on np.matrix when axis=None
| * | | BUG: Make np.partition and np.sort work on np.matrix when axis=NoneEric Wieser2018-02-252-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both were making the normally valid assumption that flatten actually flattens, which turns out to be false for matrices. Old behavior: >>> a = np.matrix([[1, 2, 0]]) >>> np.partition(a, 1, axis=None) ValueError: kth(=1) out of bounds (1) >>> np.sort(a, axis=None) matrix([[1, 2, 0]])
* | | | Merge pull request #10660 from eric-wieser/0d-interp-simplerMarten van Kerkwijk2018-02-264-22/+30
|\ \ \ \ | | | | | | | | | | BUG/MAINT: Remove special cases for 0d arrays in interp
| * | | | BUG/MAINT: Remove special handling of 0d arrays and scalars in interpEric Wieser2018-02-253-18/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are now handled generically by the underlying C function This fixes the period argument for 0d arrays. Now never returns a pure-python scalar, which matches the behaviour of most of numpy. Rework of b66a200a4a1e98f1955c8a774e4ebfb4588dab5b
| * | | | MAINT: Make the internal np.core.multiarray.[complex_]interp work on 0d arraysEric Wieser2018-02-251-4/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | Like other functions, returns a numpy scalar in place of 0d arrays Previously this would throw an exception
* | | | Merge pull request #10653 from eric-wieser/remove-duplicate-functionsCharles Harris2018-02-241-117/+75
|\ \ \ \ | |/ / / |/| | | MAINT: Remove duplicate implementation for aliased functions.