summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Bump hypothesis from 5.19.0 to 5.19.1dependabot/pip/hypothesis-5.19.1dependabot-preview[bot]2020-07-131-1/+1
| | | | | | | Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.19.0 to 5.19.1. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.19.0...hypothesis-python-5.19.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Merge pull request #16827 from mattip/setuptools-warning2Charles Harris2020-07-121-0/+3
|\ | | | | MAINT: Fix ``runtest.py`` warning.
| * MAINT: one more place where distutils is importedmattip2020-07-131-0/+3
| |
* | Merge pull request #16821 from rohitsanj/document-ndindexMatti Picus2020-07-121-1/+1
|\ \ | | | | | | DOC: fix inconsistent parameter name in np.ndindex docstring
| * | DOC: fix inconsistent parameter name in np.ndindex docstringRohit Sanjay2020-07-131-1/+1
| | |
* | | Merge pull request #16822 from mattip/setuptools-warningCharles Harris2020-07-124-3/+9
|\ \ \ | | |/ | |/| MAINT: setuptools 49.2.0 emits a warning, avoid it
| * | MAINT: make the function declarations valid Cmattip2020-07-122-2/+2
| | |
| * | MAINT: setuptools 49.2.0 emits a warning, avoid itmattip2020-07-122-1/+7
| |/
* | ENH: add `norm=forward,backward` to numpy.fft functions (#16476)Chris Vavaliaris2020-07-124-106/+268
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kwarg option norm=inverse leads to scaling of the transforms inverse (opposite) to that of the default option norm=None; i.e. the forward transform is normalized with 1/n whereas the backward one with 1. The fft routines and their tests have been modified to reflect the changes; all tests have been passed successfully. Closes #16126 * modified _unitary, fft & ifft and their tests; tests passed * modified rfft & irfft and their tests; tests passed * modified hfft & ihfft and all tests; all modifications are now done * correction in ihfft; all 79 fft tests passed successfully * undo unnecessary docstrings changes made in my previous commits * use norm=forward kwarg value name * Update numpy/fft/__init__.py Co-authored-by: Leo Fang <leofang@bnl.gov> * add code review suggestions Co-authored-by: Leo Fang <leofang@bnl.gov> * add default norm=None alias norm=backward * streamline private normalization functions * modify hermitian FFTs * add review suggestions Co-authored-by: Leo Fang <leofang@bnl.gov> * add review suggestions v2 (dict as module const) * make review suggestions v3 * Apply suggestions from code review Co-authored-by: Leo Fang <leofang@bnl.gov>
* Merge pull request #16816 from mattip/openblas-no-hashCharles Harris2020-07-121-1/+1
|\ | | | | BLD: temporarily disable OpenBLAS hash checks
| * BLD: temporarily disable OpenBLAS hash checksmattip2020-07-121-1/+1
| |
* | DOC: Add SIMD optimization documentation (gh-15551)Matti Picus2020-07-126-0/+774
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add documentation for the new build infrastructure and API developed to enable universal intrinsics. Written by @seiko2plus with some fixes by @mattip. * DOC: add SIMD optimization doc (seiko2plus) * DOC: reformat as valid RST * trim whitespace * first part of Understanding CPU Dispatching * update build options and remove implied features, gonna update it later * add more explanations for the dispatcher and fix doc style * fix up style * add figure * Improve and more explanations for Understanding CPU Dispatching * fix up syntax * DOC: tweak formatting * DOC: more tweaks * fix rst formatting * DOC: Generate CPU features tables from CCompilerOpt * DOC: move files around * DOC: add comment to top of file * DOC: rebuild tables, fix links * DOC: minor copyedits Co-authored-by: Sayed Adel <seiko@imavr.com> Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* Merge pull request #16814 from brandondavid/doc_interlinksMatti Picus2020-07-121-0/+2
|\ | | | | DOC: Add a reST label to /user/building.rst
| * Created <accelerated-blas-lapack-libraries> label in building.rstBrandon David2020-07-111-0/+2
|/
* DOC: add example to corrcoef function (#16805)Laurie Stephey2020-07-111-0/+63
|
* DOC: adding docs on passing dimensions as tuple to ndindex (#16806)Neal C2020-07-111-2/+14
| | | | | | * adding documentation on passing dimensions to ndindex as a tuple Co-authored-by: sun <sun@vosdbt.org>
* Merge pull request #16798 from Carreau/rst-minorWarren Weckesser2020-07-112-3/+3
|\ | | | | DOC: Fix RST/numpydoc standard.
| * DOC: Fix RST/numpydoc standard.Matthias Bussonnier2020-07-102-3/+3
| | | | | | | | | | | | | | | | One of the header line was not long enough, make it the same length as the title. The section "Arguments" is usually called "Parameters". Update for consistency.
* | Merge pull request #16794 from charris/update-debug-python-versionCharles Harris2020-07-112-2/+3
|\ \ | | | | | | TST: Upgrade to Python 3.8 for DEBUG testing.
| * | TST: Upgrade to Python 3.8 for DEBUG testing.Charles Harris2020-07-112-2/+3
| |/ | | | | | | | | | | | | The DEBUG test requires the debug version of Python which is only available for the default Python of the Ubuntu version being used. The latest available LTS version available for TravisCI looks to be Focal Fossa (20.04 LTS) which supports Python 3.8. Give it a shot.
* | Merge pull request #16174 from rossbar/doc/libpoly_docstring_noteMatti Picus2020-07-111-0/+66
|\ \ | | | | | | DOC: Add transition note to all lib/poly functions
| * | DOC: Add transition note to all lib/poly functionsRoss Barnowski2020-05-061-0/+66
| | | | | | | | | | | | | | | | | | Adds a `.. note::` right after the description to all functions/classes from the numpy.lib.polynomial module notifying the user that the numpy.polynomial package is preferred.
* | | Merge pull request #16760 from dpitch40/basic_iteration_documentationMelissa Weber Mendonça2020-07-101-0/+8
|\ \ \ | |_|/ |/| | DOC: Added a section in the 'Iterating over arrays' doc page on basic iteration.
| * | Update doc/source/reference/arrays.nditer.rst dpitch402020-07-081-1/+3
| | | | | | | | | | | | | | | Improve wording Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
| * | DOC: fix rST note directive formatting.Ross Barnowski2020-07-071-1/+3
| | |
| * | Added note at the top of the reference section on iteration linking to the ↵David Pitchford2020-07-071-0/+4
| | | | | | | | | | | | quickstart documentation section on basic iteration
* | | Merge pull request #16793 from mattip/cython0.29.21Charles Harris2020-07-107-10/+10
|\ \ \ | | | | | | | | BLD, MAINT: update cython to 0.29.21
| * | | BLD: update cython to 0.29.21mattip2020-07-107-10/+10
|/ / /
* | | Merge pull request #16397 from seiko2plus/implement_npyvMatti Picus2020-07-1041-0/+4459
|\ \ \ | | | | | | | | ENH: Implement the NumPy C SIMD vectorization interface
| * | | SEQ([1/4]): Fix NPY_FINLINE failbackSayed Adel2020-07-081-1/+1
| | | | | | | | | | | | Co-authored-by: Matti Picus <matti.picus@gmail.com>
| * | | ENH: [4/4] implement the NumPy C SIMD vectorization interfaceSayed Adel2020-07-087-0/+763
| | | | | | | | | | | | | | | | implement the same intrinsics as X86 for Power/VSX little-endian mode
| * | | ENH: [3/4] implement the NumPy C SIMD vectorization interfaceSayed Adel2020-07-087-0/+748
| | | | | | | | | | | | | | | | implement the same intrinsics as X86 for NEON
| * | | ENH: [2/4] implement the NumPy C SIMD vectorization interfaceSayed Adel2020-07-0825-0/+2578
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implement the following intrinsics for X86 extensions: - load, store - zero, setall, set, select, reinterpret - boolean conversions - (add, sub, mul, div, adds, subs) - logical - comparison - left and right shifting - combine, zip
| * | | ENH: [1/4] implement the NumPy C SIMD vectorization interfaceSayed Adel2020-07-088-0/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "NPYV" or universal intrinsics as NEP-38 define it, are types and functions intended to simplify vectorization of code on different platforms. This patch initialize NPYV for SIMD extensions SSE, AVX2, AVX512, VSX and NEON on the top of C definitions that defined by the new generated header '_cpu_dispatch.h' which included by 'cpu_dispatch.h'.
* | | | DOC: Minor RST formatting. (#16792)Matthias Bussonnier2020-07-093-4/+4
| | | | | | | | | | | | DOC: fixes to capitalization and header lines
* | | | Merge pull request #16200 from seberg/dtypemeta-array-coercionMatti Picus2020-07-0934-1654/+2491
|\ \ \ \ | | | | | | | | | | ENH: Rewrite of array-coercion to support new dtypes
| * | | | TST: Add test for astype to stringlength testsSebastian Berg2020-07-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | astype is similar to array coercion, and is also compared in many of the tests below.
| * | | | DOC,STY: Use bitshift intsead of powers of two and fix commentsSebastian Berg2020-07-081-15/+11
| | | | | | | | | | | | | | | | | | | | | | | | | As asked for by Hameer, the comment was outdated, so had to change it completely instead of fixing one word.
| * | | | Update doc/release/upcoming_changes/16200.compatibility.rstMatti Picus2020-07-081-1/+1
| | | | | | | | | | | | | | | Co-authored-by: Hameer Abbasi <einstein.edison@gmail.com>
| * | | | TST: datetime64 test_scalar_coercion does not fail anymoreSebastian Berg2020-07-081-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The rational test still fails, but the xfail message was wrong or confusing.
| * | | | Update doc/release/upcoming_changes/16200.compatibility.rstSebastian Berg2020-07-081-1/+1
| | | | | | | | | | | | | | | Co-authored-by: Anirudh Subramanian <anirudh2290@apache.org>
| * | | | MAINT: Put a hack in place to allow datetime64 -> string assignment when ↵Sebastian Berg2020-07-083-9/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | string is too short this retains (and slightly expands) the old behaviour. It is inconsistent and I think we should fix that inconsistency one way or the other (I honestly do not care *which* way).
| * | | | Update numpy/core/src/multiarray/array_coercion.cSebastian Berg2020-07-081-1/+1
| | | | | | | | | | | | | | | Co-authored-by: Anirudh Subramanian <anirudh2290@apache.org>
| * | | | MAINT: Remove weakref from mapping (for now) and renameSebastian Berg2020-07-084-44/+41
| | | | | | | | | | | | | | | | | | | | | | | | | Also add some more documentation for PyArray_DiscoverDTypeAndShape_Recursive
| * | | | DOC: Add release notes for array-coercion changesSebastian Berg2020-07-081-0/+58
| | | | |
| * | | | TST: Adapt coercion-tests to the new situationSebastian Berg2020-07-081-50/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately one test had to be adapted (I missed the difference between timedelta64 and datetime64), and one tests which I thought failed only for one reason, also failed for anothe reason which is not fully gone in master.
| * | | | MAINt: Add assert for an unreachable exception pathSebastian Berg2020-07-081-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Could also just delete this path entirely, but thought for now to keep it around.
| * | | | TST: Add test for too-deep non-object deprecationSebastian Berg2020-07-081-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | This is similar to the ragged deprecation, and proofs that gh-15611 is fixed previously.
| * | | | MAINT: Try to clean up headers a bitSebastian Berg2020-07-086-6/+9
| | | | |
| * | | | MAINT: Undo some header changes...Sebastian Berg2020-07-082-8/+14
| | | | |