summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | Merge pull request #5709 from abalkin/issue-5185Charles Harris2015-04-013-7/+45
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | BUG: Implemented MaskedArray.dot
| * | | | | | | | Use Python 2.6 compatible assertions in tests.Alexander Belopolsky2015-03-301-2/+2
| | | | | | | | |
| * | | | | | | | Made dot return proper type.Alexander Belopolsky2015-03-291-1/+5
| | | | | | | | |
| * | | | | | | | Fixed out!=None case, added tests.Alexander Belopolsky2015-03-292-1/+25
| | | | | | | | |
| * | | | | | | | BUG: Implemented MaskedArray.dotAlexander Belopolsky2015-03-222-7/+17
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MaskedArray used to inherit ndarray.dot which ignored masks in the operands. Fixes issue #5185.
* | | | | | | | Merge pull request #5731 from RittaNarita/norm-axis-fixJaime2015-03-292-22/+29
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | BUG: Fix linalg matrix norms when given negative axes.
| * | | | | | | TST: Make the test for linalg matrix norms coverage completeRittaNarita2015-03-301-20/+23
| | | | | | | |
| * | | | | | | BUG: Fix linalg matrix norms when given negative axes.RittaNarita2015-03-301-2/+6
| | |_|_|/ / / | |/| | | | |
* | | | | | | Merge branch 'gh-5685', docstring cleanups for mtrand.pyx.Charles Harris2015-03-281-240/+279
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | | | | | DOC: Some cleanups of mtrand.pyx docstrings.Charles Harris2015-03-281-14/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Spelling fixes - Remove blank lines between references, and - Some style fixes in examples. [skip ci]
| * | | | | | DOC: Minor edits to docstrings to improve consistency in the moduleGeorge Castillo2015-03-281-106/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed a number of references that were malformatted and broken links. Module still needs work, particularly in standardizing return values.
| * | | | | | DOC: Incremental improvement in random module docstringsGeorge Castillo2015-03-281-123/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed some broken links, references, and missing values. Also reverted some earlier edits to return value descriptions to make them less confusing.
* | | | | | | STY, PEP8: Avoid wildcard importsBlake Griffith2015-03-261-1/+1
| | | | | | |
* | | | | | | BUG: Fix astype issue with custom dtypesBlake Griffith2015-03-261-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | TST: Regression test for gh-5719Blake Griffith2015-03-261-0/+7
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Previously this would cause a segfault, now we check that this case raises an OverflowError.
* | | | | | Merge pull request #5723 from ContinuumIO/rand-docsJaime2015-03-261-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | DOC: Covariance matrix should be symmetric
| * | | | | | DOC: Covariance matrix should be symmetricBlake Griffith2015-03-261-1/+1
| |/ / / / /
* | | | | | BUG: Fix advanced object non-array value assignmentSebastian Berg2015-03-262-16/+42
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | BUG: wrong format field for 2.6Jaime Fernandez2015-03-221-14/+15
| | | | |
* | | | | BUG: (arg)sort and (arg)partition handling of empty multidim arraysJaime Fernandez2015-03-212-3/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge pull request #5683 from matthew-brett/deprecate-bias-ddofCharles Harris2015-03-206-75/+163
|\ \ \ \ \ | | | | | | | | | | | | BUG: deprecation for ignored corrcoef args
| * | | | | ENH: deprecate bias and ddof arguments to corrcoefMatthew Brett2015-03-155-75/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | ENH: _NoValue class at top-level to test kwargsMatthew Brett2015-03-151-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | | | | Merge pull request #5694 from rgommers/intel-ccompilerCharles Harris2015-03-202-9/+55
|\ \ \ \ \ \ | | | | | | | | | | | | | | ENH: distutils: add compiler classes for Intel compilers + MSVC-built Python
| * | | | | | ENH: distutils: add compiler classes for Intel compilers + MSVC-built Python.Ralf Gommers2015-03-192-9/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to Intel for contributing this patch. Contact: Yolanda Chen.
* | | | | | | MAINT: use the fast elementwise 2-norm implementation more often in linalg.normalex2015-03-201-11/+15
|/ / / / / /
* | | | | | DOC: add array2string to reference guide and explain relation to array_repr/strRalf Gommers2015-03-181-0/+4
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Closes gh-5684. [ci skip]
* | | | | Merge pull request #5682 from matthew-brett/add-clear-catch-warnings-cmCharles Harris2015-03-142-2/+132
|\ \ \ \ \ | | | | | | | | | | | | MRG: new clear_catch_warnings context manager
| * | | | | ENH: add clear_and_catch_warnings context managerMatthew Brett2015-03-142-2/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge pull request #5670 from jaimefrio/sort_refactorCharles Harris2015-03-139-378/+198
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT: refactor PyArray_Sort and PyArray_Partition
| * | | | | | MAINT: refactor PyArray_Sort and PyArray_Partitionjaimefrio2015-03-119-378/+198
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge pull request #5677 from jaimefrio/override_sig_normalizeCharles Harris2015-03-132-1/+24
|\ \ \ \ \ \ | | | | | | | | | | | | | | Override sig normalize
| * | | | | | ENH: normalize 'sig' to 'signature' in ufunc overrideJaime Fernandez2015-03-122-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #5674
* | | | | | | Merge pull request #5676 from jaimefrio/ufunc_at_noutCharles Harris2015-03-132-0/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | BUG: ufunc.at only works on single output ufuncs
| * | | | | | | BUG: ufunc.at only works on single output ufuncsJaime Fernandez2015-03-122-0/+9
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Fixes #5665
* | | | | | | Merge pull request #5673 from jaimefrio/ufunc_maxargsCharles Harris2015-03-133-0/+23
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | BUG: check for nargs <= NPY_MAXARGS in ufunc constructor
| * | | | | | BUG: check for nargs <= NPY_MAXARGS in ufunc constructorjaimefrio2015-03-123-0/+23
| |/ / / / / | | | | | | | | | | | | | | | | | | Fixes #5672
* | | | | | Merge pull request #5585 from Kreiswolke/BugFixTileJaime2015-03-122-1/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | BUG: Fixed issue #4679 - make numpy.tile always return a copy
| * | | | | | Update shape_base.pyKreiswolke2015-03-111-2/+2
| | | | | | | | | | | | | | | | | | | | | So removed the paranthesis and included the return statement.
| * | | | | | BUG: Fixed issue #4679 and added testOliver Eberle2015-02-192-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tile now copies the input when it is a numpy array and all dimensions are repeated only once.
* | | | | | | Merge pull request #5519 from jaimefrio/array_interface_dtypeCharles Harris2015-03-123-7/+88
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | ENH: PyArray_FromInterface checks descr if typestr is np.void
| * | | | | | | ENH: PyArray_FromInterface checks descr if typestr is np.voidjaimefrio2015-03-083-7/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | Merge pull request #5659 from jaimefrio/strict_out_checkCharles Harris2015-03-122-9/+39
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | ENH: Strict checking of ufunc keyword argument names
| * | | | | | | ENH: Strict checking of ufunc keyword argument namesJaime Fernandez2015-03-092-9/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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'.
* | | | | | | | BUG: loadtxt fails with complex data in Python 3.Charles Harris2015-03-112-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | DOC: `linalg.eig()`: Add "See Also" ref to `eigh()`Stuart Berg2015-03-101-2/+5
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | [skip ci]
* | | | | | | Merge pull request #5594 from newville/masterCharles Harris2015-03-091-10/+47
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | interp(): add storage of previous value for next index lookup
| * | | | | | | whitespace fixesMatt Newville2015-03-071-4/+4
| | | | | | | |
| * | | | | | | stylistic improvementsMatt Newville2015-03-071-15/+22
| | | | | | | |
| * | | | | | | Merge branch 'master' of https://github.com/numpy/numpyMatt Newville2015-03-0735-499/+846
| |\ \ \ \ \ \ \