summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | BLD: do not build exclusively for SSE4.2 processorsChristoph Gohlke2015-10-091-1/+1
| | | | | |
* | | | | | Merge pull request #6161 from grlee77/sign_docstringCharles Harris2015-10-091-1/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | DOC: document behaviour of sign for complex numbers
| * | | | | | DOC: update documentation of sign for complex and nan inputsGregory R. Lee2015-10-091-5/+6
| | | | | | |
| * | | | | | DOC: document behaviour of sign for complex numbersGregory R. Lee2015-08-041-0/+13
| | | | | | |
* | | | | | | Merge pull request #6354 from mingwpy/mingwpyCharles Harris2015-10-096-36/+41
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | BLD: mingwpy fixes
| * | | | | | | BLD: mingwpy fixescarlkl2015-09-246-36/+41
| | | | | | | |
* | | | | | | | Merge pull request #6429 from charris/remove-single-file-optionNathaniel J. Smith2015-10-0828-189/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Remove single file option
| * | | | | | | | MAINT: Remove single file c files.Charles Harris2015-10-082-70/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were the files in which all the other files were included for single file builds.
| * | | | | | | | MAINT: Remove single file compilation support.Charles Harris2015-10-0826-119/+5
| | | | | | | | |
* | | | | | | | | ENH: improve worst case of ma.clump_maskedJulian Taylor2015-10-082-18/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The worst case of alternating masked iterated all boundaries and sliced half away, improve this by only iterating the needed half of the boundary index array.
* | | | | | | | | TST: for unbuffered IO without tell/seekColin Jermain2015-10-071-0/+13
| | | | | | | | |
* | | | | | | | | BUG: only require tell/seek in np.fromfile when bufferedColin Jermain2015-10-071-9/+51
|/ / / / / / / /
* | | | | | | | Merge pull request #6420 from pizzathief/issue6333argriffing2015-10-071-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | DOC: fixing beta calculation for numpy.random,gumbel
| * | | | | | | | DOC: fixing beta calculation for numpy.random,gumbeljason king2015-10-071-1/+1
| | |_|_|_|/ / / | |/| | | | | |
* | | | | | | | Merge pull request #6421 from charris/forwardport-gh-6417Charles Harris2015-10-071-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | DOC: fix var. reference in percentile docstring
| * | | | | | | DOC: fix var. reference in percentile docstringTobias Megies2015-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The argument for the original input array is named `a` but in the docstring it was at some point referred to as `arr`. [skip ci]
* | | | | | | | Merge pull request #6391 from rlamy/lapack-setupCharles Harris2015-10-061-20/+21
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | MAINT: Simplify lapack setup
| * | | | | | | | STY: Make numpy/linalg/setup.py PEP8 compliantRonan Lamy2015-10-021-16/+17
| | | | | | | | |
| * | | | | | | | MAINT: Simplify numpy/linalg/setup.pyRonan Lamy2015-10-021-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
* | | | | | | | | Merge pull request #6406 from charris/update-gh-6310Charles Harris2015-10-061-6/+7
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | DOC: Update gh-6310: Update docs for numpy.genfromtxt.
| * | | | | | | | DOC: Cleanup genfromtxt documentation a bit.Charles Harris2015-10-041-8/+7
| | | | | | | | |
| * | | | | | | | DOC: Update docs for numpy.genfromtxt.jason king2015-10-041-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that a list of strings can be passed as the first parameter. The strings are treated as the lines in a file. Closes #6247
* | | | | | | | | TST: new np.corrcoef improved stabilityLars Buitinck2015-10-051-0/+6
| | | | | | | | |
* | | | | | | | | Merge pull request #6411 from larsmans/cov-memory-useCharles Harris2015-10-051-2/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | ENH: speed up cov by ~10% for large arrays
| * | | | | | | | | ENH: speed up cov by ~10% for large arraysLars Buitinck2015-10-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaces n² divisions by one division and n² multiplications.
* | | | | | | | | | Merge pull request #6396 from rudimeier/opt-corrcoefCharles Harris2015-10-051-1/+5
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | MAINT: corrcoef, memory usage optimization
| * | | | | | | | | | MAINT: corrcoef, memory usage optimizationRuediger Meier2015-09-301-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We calculate sqrt on the small vector rather than on that huge product matrix and we combine the "outer" product with element-wise devision. So even though we have a slower loop over the rows now ... this code snippet runs about 3 times faster than before. However the speed improvement of the whole function is not really significant because cov() takes 80-99% of the time (dependent on blas/lapack implementation and number of CPU cores). More important is that we will safe 1/3 memory. For example corrcoef() for a [23k, m] matrix needs 8GB now instead of 12GB.
* | | | | | | | | | | Merge pull request #6405 from charris/update-gh-6180Nathaniel J. Smith2015-10-051-0/+9
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | DOC Update gh-6180: Add RandomState stability guarantee.
| * | | | | | | | | | | DOC: Update RandomState guarantee to be more explicit.Charles Harris2015-10-051-5/+8
| | | | | | | | | | | |
| * | | | | | | | | | | DOC: Add RandomState stability guarantee to RandomState documentation.mtran2015-10-041-0/+6
| | |_|/ / / / / / / / | |/| | | | | | | | |
* | | | | | | | | | | BUG: Fix missing np prefix in test_multiarray.py.Charles Harris2015-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug introduced in 68e61c2f.
* | | | | | | | | | | Merge pull request #4753 from mhvk/bug-4753Charles Harris2015-10-052-12/+97
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | BUG difference in behaviour for subclass output in ufuncs
| * | | | | | | | | | | Check `out` kwarg for __nump_ufunc__ override and set index appropriatelyBlake Griffith2015-06-192-12/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for the case where self is among outputs but not among inputs. Ensure it works both out passed on as an argument and with out in a keyword argument.
* | | | | | | | | | | | typoeulerreich2015-10-041-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #6094 from astrofrog/fix-gh-6019ahaldane2015-10-042-25/+43
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | BUG: Fixed a bug with string representation of masked structured arrays
| * | | | | | | | | | | BUG: Fixed string representation of mvoid with multi-dimensional columnsThomas Robitaille2015-10-042-25/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug that caused the string representation of masked structured array rows with multi-dimensional columns to fail (numpy/numpy#6019), and includes a regression test. Since __repr__ suffered from a similar bug, and since previously __repr__ returned the same as __str__ for mvoid, we now set __repr__ to reference the same method as __str__.
* | | | | | | | | | | | Merge pull request #6400 from jjhelmus/fix_ma_roundCharles Harris2015-10-042-4/+33
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: numpy.ma.round works on zero dimensional arrays
| * | | | | | | | | | | | MAINT: More expressive if statement in np.ma.roundJonathan Helmus2015-10-041-1/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | BUG: numpy.ma.round works on zero dimensional arraysJonathan Helmus2015-10-022-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | numpy.ma.round returns a scalar or np.ma.masked when called with a zero dimensional array. This behavior is consistent with numpy.round. closes #2244
| * | | | | | | | | | | | STY: Remove trailing whitespace from numpy/ma/core.pyJonathan Helmus2015-10-021-2/+2
| | |_|_|_|_|/ / / / / / | |/| | | | | | | | | |
* | | | | | | | | | | | Merge pull request #6403 from larsmans/cov-memory-useJaime2015-10-041-1/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / / / | |/| | | | | | | | | | ENH: halve the memory requirement of np.cov
| * | | | | | | | | | | ENH: halve the memory requirement of np.covLars Buitinck2015-10-041-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents allocation of an n²-sized array. XXX For large arrays, multiplying by 1/fact is more than 10% faster than dividing by fact, but that doesn't pass the tests.
* | | | | | | | | | | | DOC: typo: affectLars Buitinck2015-10-023-7/+7
|/ / / / / / / / / / /
* | | | | | | | | | | ENH: adds lexsort for arrays with object dtypebehzad nouri2015-10-022-5/+42
|/ / / / / / / / / /
* | | | | | | | | | Merge pull request #6336 from njsmith/clean-up-ufunc-dead-codeCharles Harris2015-10-013-46/+15
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | MAINT: cleanup dead code/arguments/fields from ufuncs
| * | | | | | | | | | MAINT: cleanup dead code/arguments/fields from ufuncsNathaniel J. Smith2015-10-013-46/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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...
* | | | | | | | | | | Merge pull request #6322 from pizzathief/issue5900Charles Harris2015-10-012-5/+6
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / |/| | | | | | | | | | DOC: numpy.diff docstring changed as per recommendation on
| * | | | | | | | | | DOC: numpy.diff docstring changed as per recommendation onjason king2015-09-162-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/numpy/numpy/issues/5900 Slight change for cumsame doco as well, to match.
* | | | | | | | | | | Merge pull request #6346 from ChristopherHogan/signbit_fixCharles Harris2015-10-011-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / |/| | | | | | | | | | BUG: Guarantee non-zero is one in arctan2
| * | | | | | | | | | BUG: Guarantee non-zero is 1 for switch statementsChris Hogan2015-10-011-1/+1
| | |_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.