summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | Merge pull request #6384 from anntzer/fill-default-dtype-futurewarningCharles Harris2015-09-281-0/+10
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Add tests.
| * | | | | | | | | | Add tests.Antony Lee2015-09-281-0/+10
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #6269 from yashmehrotra/depr-pyobject_compareCharles Harris2015-09-285-41/+46
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | | MAINT: Deprecated PyObject_Compare in favor of PyObject_RichCompareBool. Fixes #6265
| * | | | | | | | | | MAINT: Deprecated PyObject_Compare in favor of PyObject_RichCompareBool. ↵Yash Mehrotra2015-09-295-41/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #6265 and #6229
* | | | | | | | | | | FutureWarning for np.full(..., non-float).Antony Lee2015-09-281-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cf. discussion in #6366.
* | | | | | | | | | | Merge pull request #6361 from seberg/issue6359ahaldane2015-09-273-1/+28
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | BUG: Add void field at end of dtype.descr to match itemsize
| * | | | | | | | | | | TST: Add test that array interface descr and typestr itemsize matchSebastian Berg2015-09-271-0/+10
| | | | | | | | | | | |
| * | | | | | | | | | | BUG: Add void field at end of dtype.descr to match itemsizeSebastian Berg2015-09-252-1/+18
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dtype.descr returns void fields to explain the padding part of the dtype. The last void field for the itemsize itself was however not included. Closes gh-6359
* | | | | | | | | | | Merge pull request #6371 from seberg/pr-5771Charles Harris2015-09-272-1/+10
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | BUG: Make sure warning for array split is always applied
| * | | | | | | | | | | TST: Test empty warning for split with manual inputsSebastian Berg2015-09-271-0/+9
| | | | | | | | | | | |
| * | | | | | | | | | | BUG: Expanded warning conditions for array_splitMichael Currie2015-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Zero arrays can also occur with any of the partitions sub_arys[i] induced by array_split, not just the final partition sub_arys[-1]. Modified by seberg. Closes gh-5771
* | | | | | | | | | | | Merge pull request #6372 from seberg/revert-vdotCharles Harris2015-09-273-43/+55
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | REV: Make sure ravel returns a contiguous array
| * | | | | | | | | | | | DOC: Document behaviour of ravel more clearlySebastian Berg2015-09-271-1/+5
| | | | | | | | | | | | |
| * | | | | | | | | | | | REV: Make sure ravel returns a contiguous arraySebastian Berg2015-09-272-42/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bit more then it used to do, so it is not a complete revert. Some of the "weird" cases where a copy was unnecessarily done will now only be gone with RELAXED_STRIDES_CHECKING.
* | | | | | | | | | | | | BUG: Fix vdot for uncontiguous arrays.Sebastian Berg2015-09-272-6/+32
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that using Newshape also means that less copying is done in principle, because ravel will always return a contiguous array.
* | | | | | | | | | | | Merge pull request #6368 from anntzer/empty-object-is-noneCharles Harris2015-09-261-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Document empty(..., object) initialization to None.
| * | | | | | | | | | | | Document empty(..., object) initialization to None.Antony Lee2015-09-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Behavior goes back at least to 1.6.2. Fixes #6367.
* | | | | | | | | | | | | Merge pull request #6362 from seberg/issue6351Charles Harris2015-09-262-9/+19
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | | BUG,ENH: allow linalg.cond to work on a stack of matrices
| * | | | | | | | | | | | BUG,ENH: allow linalg.cond to work on a stack of matricesSebastian Berg2015-09-252-9/+19
| | |_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was buggy, because the underlying functions supported it partially but cond was not aware of this. Closes gh-6351
* | | | | | | | | | | | Merge pull request #6347 from charris/fix-sdist-missing-filesCharles Harris2015-09-252-0/+16
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | Fix a couple of distribution problems
| * | | | | | | | | | | TST: Update test__version.py.Charles Harris2015-09-231-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added tests for the x.x.dev0+1234567 form together with alpha and beta versions of same. Updates lifted from scipy.
| * | | | | | | | | | | BUG: Add cblasfuncs.c and python_xerbla.c to MANIFEST.inCharles Harris2015-09-231-0/+3
| | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Those files in numpy/core/src/multiarray were only included in source distributions when HAVE_CBLAS was defined, making the distribution contents depend on the local configuration. Closes #6343.
* | | | | | | | | | | BUG: numpy.ma functions can be called with only keyword argumentsJonathan Helmus2015-09-242-2/+14
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | numpy.ma.empty, zeros, ones, etc can be called using only keyword arguments without a positional argument. Previously a single positional argument was required. For example: np.ma.zeros(shape=(10, )) closes #6106
* | | | | | | | | | Merge pull request #6243 from dzagorny/intel-distutils-fixesCharles Harris2015-09-228-63/+92
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | BLD: Intel distutils fixes
| * | | | | | | | | | Changed from distutils_MSVCCompiler toDmitry Zagorny2015-09-152-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | distutils.msvccompiler.MSVCCompiler
| * | | | | | | | | | Align with pep8Dmitry Zagorny2015-09-152-5/+8
| | | | | | | | | | |
| * | | | | | | | | | Fixed issue: SciPy can't be build in case, if python was installed intoDmitry Zagorny2015-09-151-28/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | folder with whitespaces.
| * | | | | | | | | | MSVCCompiler overwrite 'lib' and 'include' environment variables. ThisDmitry Zagorny2015-09-156-35/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | behavior affect at least python 3.5 and SciPy build and build failed. During initialization <python>.distutils.MSVCCompiler replace Intel environment('include' and 'lib' paths). This fix decorate 'initialize' function in MSVCCompiler and extend 'lib' and 'include' environment variables. Changed compilation keys: generate optimized code specialized for Intel processors with SSE4.2 support.
| * | | | | | | | | | Added closing for 'so_dup' and 'se_dup' file descriptors.Dmitry Zagorny2015-09-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: _exec_command function doesn't close 'so_dup' and 'se_dup' file descriptors.SciPy try to build scipy\special\amos\zunik.f and crash:error: Command "C:\Program Files (x86)\Intel\Composer XE 2015\bin\intel64\ifort.exe /nologo /MD /nbs /names:lowercase /assume:underscore /O1 -IC:\Python27\lib\site-packages\numpy\core\include -c /c scipy\special\amos\zunik.f /Fobuild\temp.win-amd64-2.7\scipy\special\amos\zunik.o" failed with exit status -1073741502
* | | | | | | | | | | Merge pull request #6328 from zerothi/enh-distutils-openblasCharles Harris2015-09-221-2/+13
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ENH: enabled extra_link_args in OpenBLAS segment
| * | | | | | | | | | | ENH: enabled extra_link_args in OpenBLAS segmentNick Papior2015-09-171-2/+13
| | |_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The extra_link_args is sadly not intrinsically used for many parts of the system_info code. This commit adds the linking properties stored when using extra_link_args in the openblas section to bypass any difficulties in the usage of OpenBLAS. This is especially helpful when linking against external LAPACK libraries which requires -lgfortran and possibly -lm for correct linking.
* | | | | | | | | | | DOC: linalg.eig will return an array of a real type if thejason king2015-09-161-3/+4
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | complex part equates to exactly 0. Updating doco to say this. Doco implied return type was always complex.
* | | | | | | | | | Merge pull request #6262 from aarchiba/longdouble_docsCharles Harris2015-09-101-0/+39
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | DOC describe the situation of extended precision in numpy
| * | | | | | | | | | DOC: be more emphatic about Windows and 64 bitsAnne Archibald2015-09-011-7/+9
| | | | | | | | | | |
| * | | | | | | | | | DOC describe the situation of extended precision in numpyAnne Archibald2015-09-011-0/+37
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #6271 from charris/change-deprecated-indexes-to-errorCharles Harris2015-09-106-480/+245
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | DEP,MAINT: Change deprecated indexing to errors.
| * | | | | | | | | | | STY: PEP8 fixes for test_indexing.py.Charles Harris2015-09-061-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mostly break long lines.
| * | | | | | | | | | | TST,DEP: Move deprecation tests that now test for exceptions.Charles Harris2015-09-062-222/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests of deprecated indexing operations that now raise errors are moved from test_deprecations.py to test_indexing.py.
| * | | | | | | | | | | DEP,MAINT: Change deprecated indexing to errors.Charles Harris2015-09-066-321/+104
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The deprecated operations changed to errors are * Conversion of floats and booleans to npy_intp indexes. * Conversion of single element integer arrays of ndim > 1 to indexes. * Multiple ellipsis in index. The affected deprecation tests have been been changed to check for raised errors instead, but remain in test_deprecations.py for the moment. They will be moved when the conversion of the remaining indexing deprecations is complete.
* | | | | | | | | | | Merge pull request #6290 from has2k1/datetime-timedelta-dtypeCharles Harris2015-09-101-1/+3
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | DOC: Document Datetime, Timedelta dtype kinds
| * | | | | | | | | | | DOC: Document Datetime, Timedelta dtype kindsHassan Kibirige2015-09-081-1/+3
| | | | | | | | | | | |
* | | | | | | | | | | | BUG: allow npy_PyFile_Dup2 to report its error in np.fromfileColin Jermain2015-09-081-2/+0
| | | | | | | | | | | |
* | | | | | | | | | | | DOC: Fix typo in Triangular Distribution PDFMaPePeR2015-09-081-1/+1
|/ / / / / / / / / / /
* | | | | | | | | | | Merge pull request #6268 from charris/remove-bento-supportCharles Harris2015-09-0610-726/+0
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Remove bento support
| * | | | | | | | | | | MAINT: Remove references to Bento.Charles Harris2015-08-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bento builds are no longer supported, so remove references to that built system.
| * | | | | | | | | | | MAINT: Remove bento related files.Charles Harris2015-08-299-725/+0
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Numpy will no longer support the bento build system, so remove the associated files.
* | | | | | | | | | | ENH: gradient takes axis keyword, added release note commentMaximilian Trescher2015-09-061-4/+6
| | | | | | | | | | |
* | | | | | | | | | | possibility to calculate gradient over specific axes instead of all axesMaximilian Trescher2015-09-032-5/+60
| |_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | when given axis=None, behave the same as axis not being provided
* | | | | | | | | | BUG: enforce signed char in extint128Antoine Pitrou2015-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whether a "char" is signed or unsigned is left undefined by the C standard. Some platforms such as armv7l actually seem to have an "unsigned" C char. Enforce a signed char where relevant. (fixes test_extint128 and test_mem_overlap on Raspberry Pi 2)
* | | | | | | | | | BUG: fix timedelta arithmetic with invalid values or NaTsAntoine Pitrou2015-09-012-7/+53
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Timedelta multiplication and division relied on undefined behaviour for some inputs, which would give the expected results on x86 but not on armv7l (e.g. Raspberry Pi 2). Closes #6274.