summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
* STY: Make numpy/linalg/setup.py PEP8 compliantRonan Lamy2015-10-021-16/+17
|
* MAINT: Simplify numpy/linalg/setup.pyRonan Lamy2015-10-021-8/+8
| | | | | | Compute the sources required to build extensions lapack_lite and _umath_linalg in a more direct way that doesn't rely on abusing the 'depends' argument to config.add_extension().
* Merge pull request #6336 from njsmith/clean-up-ufunc-dead-codeCharles Harris2015-10-013-46/+15
|\ | | | | MAINT: cleanup dead code/arguments/fields from ufuncs
| * MAINT: cleanup dead code/arguments/fields from ufuncsNathaniel J. Smith2015-10-013-46/+15
| | | | | | | | | | | | | | | | The check_return argument and ufunc object field was never used; ditto for the "new" inner loop selector (which was never implemented), along with associated typedefs. Since I was looking at this code anyway trying to figure out which parts were actually in use, I figured I'd clear up some of the brush to make it easier next time...
* | Merge pull request #6322 from pizzathief/issue5900Charles Harris2015-10-012-5/+6
|\ \ | | | | | | DOC: numpy.diff docstring changed as per recommendation on
| * | DOC: numpy.diff docstring changed as per recommendation onjason king2015-09-162-5/+6
| | | | | | | | | | | | | | | | | | https://github.com/numpy/numpy/issues/5900 Slight change for cumsame doco as well, to match.
* | | Merge pull request #6346 from ChristopherHogan/signbit_fixCharles Harris2015-10-011-1/+1
|\ \ \ | | | | | | | | BUG: Guarantee non-zero is one in arctan2
| * | | BUG: Guarantee non-zero is 1 for switch statementsChris Hogan2015-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In numpy/core/src/npymath/npy_math.c.src there is a state machine sequence that assumes signbit returns either a 1 or 0. However, all the online documentation states that it will return either a 0 or a nonzero value, which seems to be determined by the OS. These changes allow the code to work with a zero or a nonzero value.
* | | | 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
| | | | | | |