| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
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().
|
|\
| |
| | |
MAINT: cleanup dead code/arguments/fields from ufuncs
|
| |
| |
| |
| |
| |
| |
| |
| | |
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...
|
|\ \
| | |
| | | |
DOC: numpy.diff docstring changed as per recommendation on
|
| | |
| | |
| | |
| | |
| | |
| | | |
https://github.com/numpy/numpy/issues/5900
Slight change for cumsame doco as well, to match.
|
|\ \ \
| | | |
| | | | |
BUG: Guarantee non-zero is one in arctan2
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| | | | |
| | | | | |
Add tests.
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
MAINT: Deprecated PyObject_Compare in favor of PyObject_RichCompareBool. Fixes #6265
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes #6265 and #6229
|
| | | | |
| | | | |
| | | | |
| | | | | |
cf. discussion in #6366.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: Add void field at end of dtype.descr to match itemsize
|
| | | | | | |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: Make sure warning for array split is always applied
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
REV: Make sure ravel returns a contiguous array
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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.
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Note that using Newshape also means that less copying is done
in principle, because ravel will always return a contiguous
array.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Document empty(..., object) initialization to None.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Behavior goes back at least to 1.6.2.
Fixes #6367.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
BUG,ENH: allow linalg.cond to work on a stack of matrices
|
| | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This was buggy, because the underlying functions supported it
partially but cond was not aware of this.
Closes gh-6351
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Fix a couple of distribution problems
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Added tests for the x.x.dev0+1234567 form together with alpha and beta
versions of same.
Updates lifted from scipy.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BLD: Intel distutils fixes
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
distutils.msvccompiler.MSVCCompiler
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
folder with whitespaces.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
ENH: enabled extra_link_args in OpenBLAS segment
|
| | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
complex part equates to exactly 0. Updating doco to say this.
Doco implied return type was always complex.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
DOC describe the situation of extended precision in numpy
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
DEP,MAINT: Change deprecated indexing to errors.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Mostly break long lines.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Tests of deprecated indexing operations that now raise errors are moved
from test_deprecations.py to test_indexing.py.
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
DOC: Document Datetime, Timedelta dtype kinds
|
| | | | | | | |
|
| | | | | | | |
|