| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
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))
|
|
|
|
| |
Say that we do provide 64-bit Windows wheels. Update link to mingwpy.
|
|
|
|
|
| |
Document the single repository wheel building system. Strip out the old
Wine instructions.
|
|\
| |
| | |
DOC: Update Numpy 1.11.1 release notes.
|
| |
| |
| |
| | |
[ci skip]
|
|\ \
| | |
| | | |
ENH Generalized rot90
|
| | | |
|
|\ \ \
| | | |
| | | | |
ENH: add geomspace function
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This changes the check for scalars in assert_almost_equal so that
abs(actual - desired) < 1.5 * 10**(-decimal)
Note that the previous documentation claimed that the functions were
equivalent to
abs(actual - desired) < .5 * 10**(-decimal)
but that was not how they behaved in practice.
Due to the change in implementation, some very delicate tests may fail
that did not fail before. No extra failures were noted in scipy.
Closes #5200.
|
| | |
| | |
| | |
| | | |
Mentioned here: http://stackoverflow.com/questions/37625478/why-is-ones-like-listed-as-a-ufunc
|
| | |
| | |
| | |
| | | |
Fixes #7403
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As one can easily encounter when working with high-order signal processing
filters, converting a high-order polynomial from its roots to its polynomial
coefficients can be quite lossy, leading to inaccuracies in the filter's
properties.
This PR adds a new function, `polyrootval` - based on `polyval` - that
evaluates a polynomial given a list of its roots. The benefit of calculating it
this way can be seen at scipy/scipy:6059. Some tests are included, as well.
|
| |/
|/|
| |
| |
| | |
Changed/corrected Time span - relative and absolute - for second, millisecond and microsecond.
There were slight differences and was noted duly in the issue. See #6711 (https://github.com/numpy/numpy/issues/6711)
|
| |
| |
| |
| |
| |
| |
| |
| | |
Replaces the simple dictionary caches for the twiddle factors of
numpy.fft to bounded LRU (least recently used) caches. The caches can
thus no longer grow without bounds.
See #7686.
|
| | |
|
|\ \
| | |
| | | |
DOC: update wheel build / upload instructions
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Correct capitalization of PyPI.
Add more on procedure for uploading via warehouse server rather than
pypi server.
|
| | |
| | |
| | |
| | |
| | | |
Update the instructions for the numpy Windows and manylinux wheels
builds, and uploading the wheels to pypi.
|
|/ /
| |
| |
| | |
[ci skip]
|
| |
| |
| |
| | |
[ci skip]
|
| |
| |
| |
| | |
[ci skip]
|
| |
| |
| |
| |
| |
| |
| | |
lib.interp function now allows interpolation of complex fp with
complex128 precision (i.e. equivalent to lib.interp on the real and
imaginary parts). Tests are added for the non-periodic and periodic
cases.
|
| |
| |
| |
| |
| | |
Definition lists are marked up with indentation, not colons, and extra
colons break the web formatting
|
| |
| |
| |
| |
| |
| |
| | |
I do not think that these two function are ufuncs since they do not
have an optional [, out] argument. From the doc:
- All ufuncs can also take output arguments.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
According to the official Python documentation, term "class variables"
denotes attributes shared by all instances of the class. The current
version of the Numpy/Scipy documentation guide uses the term to mean
non-method attributes. This commit replaces the confusing term with a
more appropriate one.
|
| | |
|
|\ \
| | |
| | | |
Added pathlib support for several functions
|
| | | |
|
| | | |
|
|/ /
| |
| |
| | |
Fix a little grammatical error and expand the text on mmap changes.
|
|\ \
| | |
| | | |
ENH ufunc called on memmap return a ndarray
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Special case for reduction functions (e.g. np.sum with axis=None) that
return a numpy scalar.
Keep original memmap subclasses behavior to be on the safe side.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
A quick test suggests that this implementation from @seberg, relying on
slices rather than index arrays, is 1.5~3x faster than the previous (1D)
roll (depending on the axis).
Also switched the error message for invalid inputs to match the one of
ufuncs, because the axis can actually also be negative.
|
|\ \
| | |
| | | |
ENH: adds np.nancumsum and np.nancumprod
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This PR adds an implementation of `nancumsum` and `nancumprod`.
The actual function is a two-liner adapted from `nansum`.
Its structure is adapted from PR: https://github.com/numpy/numpy/pull/5418/
|
| | |
| | |
| | |
| | | |
fixes gh-2491.
|
| | |
| | |
| | |
| | | |
Space added to resolve misrendering of monospace (``) delimiters.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Internal method calls to array methods should be written
to reflect the actual signature of the argument. Thus,
keyword arguments for example should be written explicitly
as keyword arguments.
This inconsistency has caused libraries like pandas to
adopt somewhat awkward function signatures for functions
with name equivalents in numpy in which certain arguments had
to be externalized for compatibility purposes but would preferably
have been hidden in a kwargs argument since they weren't actually
used in the implementation. Such externalization would only cause
more confusion for the user.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Expand the explanation of the future changes to mask behavior when
assignments are made to views of masked_arrays.
[skip ci]
|
|\ \ \
| | | |
| | | | |
ENH: Make no unshare mask future warnings less noisy
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Incorporates Nathaniels suggestions for a longer explanation
in the release notes.
|
|\ \ \ \
| | | | |
| | | | | |
ENH: Unlock the GIL for gufuncs
|
| | |/ /
| |/| | |
|