| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
ENH: Refactor numpy ** operators for numpy scalar integer powers
|
| |
| |
| |
| | |
[ci skip]
|
|\ \
| | |
| | | |
ENH: Add a float_power function with at least float64 precision.
|
| | |
| | |
| | |
| | | |
[ci skip]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Corrections to #8023.
- Fix index types to ssize_t.
- Clean up C code style.
Closes #7701.
[ci skip]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Corrections to #8001.
- Correct markup for code sections.
- Correct link to structured arrays.
Closes #7881.
[ci skip]
|
| | |
| | |
| | |
| | |
| | |
| | | |
When python is invoked with switch -3, it emits waring "classic int division"
for strict integer divisions. The same behavior is now implemented to numpy
with this fix
|
| | |
| | |
| | |
| | | |
Closes #5813.
|
| |/
|/| |
|
|/
|
|
|
|
|
|
|
| |
This is easier to get going, and is the recommended access method
by GitHub itself:
https://help.github.com/articles/which-remote-url-should-i-use/
Also add instructions for pulling from upstream including PRs
by default.
|
|\
| |
| | |
ENH: Add ma.convolve and ma.correlate for #6458
|
| | |
|
|\ \
| |/
|/| |
BUG: integers to a negative integer powers should error.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a change in behaviour. Previously
* zero to negative integer powers returned least integral value.
* 1, -1 to negative integer powers returned correct values
* all remaining integers returned zero when raised to negative integer
powers.
All of these cases now raise a ``ValueError``. It was felt that a simple
rule was the best way to go rather than have special exceptions for the
units. If you need negative powers, use an inexact type.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ufuncs (#8054)
* ENH: add signature argument to vectorize for generalized ufuncs
Example usage (from the docstring):
Vectorized convolution:
>>> convolve = np.vectorize(np.convolve, signature='(n),(m)->(k)')
>>> convolve(np.eye(4), [1, 2, 1])
array([[ 1., 2., 1., 0., 0., 0.],
[ 0., 1., 2., 1., 0., 0.],
[ 0., 0., 1., 2., 1., 0.],
[ 0., 0., 0., 1., 2., 1.]])
* Use str.format rather than %
* Fix spelling typo
* BUG: fix np.vectorize for size 0 inputs
* DOC: add vectorize to 1.12.0 release notes
* [ci-skip] Remove outdated comment
|
| |
| |
| |
| | |
[ci skip]
|
| |
| |
| |
| | |
[ci skip]
|
|/
|
|
|
| |
This makes it possible to directly use matplotlib references such as
:func:`matplotlib.pyplot.imshow`.
|
| |
|
|\
| |
| | |
ENH: Add ability to runtime select ufunc loops, add AVX2 integer loops
|
| | |
|
|\ \
| | |
| | | |
WIP: MAINT: Add deprecation warning to views of multi-field indexes
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Behavior of multi-field indexes will change in 1.13: Multi-field indexes
will return a view (not a copy) and assignment between structures with
non-identical fieldnames occurs "by position" (not "by fieldname"):
>>> a = zeros(10, dtype=[('x', 'i8'), ('y', 'i8'), ('z', 'i8')])
>>> a[['x', 'z']].view('i4') # Deprecation warning for multifield view
>>> b = ones(10, dtype=[('y', 'i4'), ('x', 'f4')])
>>> a[:] = b # Deprecation warning for multifield assignment
|
|/ / |
|
| |
| |
| |
| | |
[ci skip]
|
|\ \
| | |
| | | |
DOC: Update 1.11.2 release notes.
|
| | |
| | |
| | |
| | | |
[ci skip]
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Instances remain for NumpyVersion and Numpy.rec.fromarrays that are
references to code.
Release notes were left unchanged.
see issue #7986
|
| |
| |
| |
| | |
[ci skip]
|
| | |
|
| |
| |
| |
| | |
[ci skip]
|
| | |
|
| |
| |
| |
| |
| |
| | |
Making the outer context manager a suppress warnings gives good
control to print warnings only once in release mode and suppress
some specific warnings which cannot be easily avoided otherwise.
|
| |
| |
| |
| |
| |
| |
| | |
This means that warnings of different origin then the one tested for
behave normally. If the normal behaviour is to igonre them this might
decrease specificity in rare cases. In most cases the specificity
will be slightly higher.
|
|\ \
| | |
| | | |
DOC: Create 1.11.2 release notes.
|
| | |
| | |
| | |
| | | |
[ci skip]
|
| | |
| | |
| | |
| | | |
[skip ci]
|
| |/
|/|
| |
| |
| |
| | |
This context has a couple of advantages over the typical one, and can
ensure that warnings are cleanly filtered without side effect for
later tests.
|
|/
|
|
| |
[ci skip]
|
|
|
|
| |
Closes gh-391.
|
| |
|
|\
| |
| | |
BLD: preserve library order
|
| |
| |
| |
| |
| |
| | |
Before, the list of libraries was resorted to match the order of
library_dirs. Now, the opposite occurs: library_dirs is resorted to
match the library order.
|
|\ \
| | |
| | | |
Document runtests extra argv
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This is useful for things like passing ``--pdb`` to make nose drop into
a pdb post-mortem on exception.
|
|/ /
| |
| |
| |
| |
| | |
Introsort is regular quicksort but changing to a heapsort when not
enough progress is made. This retains the good quicksort performance
while changing the worst case runtime from O(N^2) to O(N*log(N))
|