| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
BUG: Implemented MaskedArray.dot
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
MaskedArray used to inherit ndarray.dot which ignored masks in the operands.
Fixes issue #5185.
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
BUG: Fix linalg matrix norms when given negative axes.
|
| | | | | | | | |
|
| | |_|_|/ / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* gh-5685:
DOC: Some cleanups of mtrand.pyx docstrings.
DOC: Minor edits to docstrings to improve consistency in the module
DOC: Incremental improvement in random module docstrings
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- Spelling fixes
- Remove blank lines between references, and
- Some style fixes in examples.
[skip ci]
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixed a number of references that were malformatted and broken links.
Module still needs work, particularly in standardizing return values.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixed some broken links, references, and missing values. Also reverted
some earlier edits to return value descriptions to make them less
confusing.
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Using astype method to convert from custom dtypes should throw an
OverflowError is the destination is too small. Previously it was
segfaulting.
closes bug 5719
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Previously this would cause a segfault, now we check that this case
raises an OverflowError.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
DOC: Covariance matrix should be symmetric
|
| |/ / / / / |
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If the value array in an advanced indexing assignment was a non-array
and the array being assigned to is an object array, a temporary
array is created to make the object assignment work well like
slicing in general.
However, this array was created with the swapping of the mapiter
object. So we have to swap it back as if it was an array being
subscripted with MapIterSwapAxes.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes an error raised by the (arg)sorting and (arg)partitioning
functions, when called on an empty multidimensional array along
an axis that doesn't have 0 length.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: deprecation for ignored corrcoef args
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The bias and ddof arguments had no effect on the calculation of the
correlation coefficient because the value cancels in the calculation.
Deprecate these arguments to np.corrcoef and np.ma.corrcoef.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add _NoValue class at top level to make it possible to detect when
non-default values got passed to a keyword argument, as in:
def func(a, b=np._NoValue):
if b is not np._NoValue:
warnings.warn("Argument b is deprecated",
DeprecationWarning)
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
ENH: distutils: add compiler classes for Intel compilers + MSVC-built Python
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Thanks to Intel for contributing this patch. Contact: Yolanda Chen.
|
|/ / / / / / |
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Closes gh-5684.
[ci skip]
|
|\ \ \ \ \
| | | | | |
| | | | | | |
MRG: new clear_catch_warnings context manager
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add context manager for tests that, on entry, clears record of any
previous warnings from given modules, so that any warning raised in the
context block does get raised, rather than suppressed by a previous
warning causing an entry in the `__warningregistry_`` of the module.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
MAINT: refactor PyArray_Sort and PyArray_Partition
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Modified the generic sort functions, npy_quicksort, npy_heapsort
and npy_mergesort, to have a signature compatible with the other
sort functions. Got rid of the global compare ugliness, and
refactored PyArray_Sort and PyArray_Partition to use the new
functions through a call to _new_sortlike.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Override sig normalize
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Closes #5674
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
BUG: ufunc.at only works on single output ufuncs
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes #5665
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
BUG: check for nargs <= NPY_MAXARGS in ufunc constructor
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Fixes #5672
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
BUG: Fixed issue #4679 - make numpy.tile always return a copy
|
| | | | | | |
| | | | | | |
| | | | | | | |
So removed the paranthesis and included the return statement.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Tile now copies the input when it is a numpy array and all dimensions are
repeated only once.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
ENH: PyArray_FromInterface checks descr if typestr is np.void
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
When the 'typestr' member of the __array_interface__ dictionary defines
a np.void dtype, check the 'descr' member, and if it is a valid dtype
description and it is not the default one, use it to construct the
dtype for the array to return.
This fixes #5081, as as_strided no longer has to worry about changing
the dtype of the return.
|
|\ \ \ \ \ \ \ \
| |_|_|/ / / / /
|/| | | | | | | |
ENH: Strict checking of ufunc keyword argument names
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Raises a TypeError if any of the keyword arguments supplied to a
ufunc does not exactly match the name in the signature. Prior to
this, trailing characters were discarded, e.g. 'out2' would be
treated as if it where 'out'.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The problem is that the Python complex type constructor only accepts a
pair of numbers or a string, unlike other numeric types it does not work
with byte strings. The numpy error is subtle, as loadtxt opens the file
in the default text mode, but then converts the input lines to byte
strings when they are split into separate values. The fix here is to
convert the values back to strings in the complex converter.
Closes #5655.
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
[skip ci]
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
interp(): add storage of previous value for next index lookup
|
| | | | | | | | |
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \ |
|