summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Need to INCREF dtype again since PyArray_NewFromDescr steals a referenceErik M. Bray2014-03-131-0/+2
| | | | |
* | | | | BUG: Buffered stride was erroneously marked fixed (fixes #4485)Mark Wiebe2014-03-161-7/+6
| | | | |
* | | | | TST: Test for einsum/nditer fixed stride bugMark Wiebe2014-03-161-0/+29
| | | | |
* | | | | BLD: Fix build on WindowsMark Wiebe2014-03-161-2/+2
| |/ / / |/| | |
* | | | Merge pull request #4483 from meltingwax/meltingwax/2469Charles Harris2014-03-163-1/+25
|\ \ \ \ | | | | | | | | | | BUG: Fix commutativity of {dot,multiply,inner}(scalar, matrix_of_objects)
| * | | | BUG: Fix commutativity of {dot,multiply,inner}(scalar, matrix_of_objs)Daniel da Silva2014-03-143-1/+25
| | | | | | | | | | | | | | | | | | | | Fixes #2469 and #4482. Relaxes fail condition to allow subtype as documented.
* | | | | MANT: rename variable to avoid shadowingjaimefrio2014-03-151-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The variable `obj` in `prepare_index` is shadowed in an inner scope within the function. Renamed the inner scope variable to `tmp_obj` to avoid confusion.
* | | | | Merge pull request #4497 from juliantaylor/index-gil-releaseCharles Harris2014-03-153-6/+55
|\ \ \ \ \ | | | | | | | | | | | | ENH: release gil for indexing operations
| * | | | | ENH: release gil for put and putmaskJulian Taylor2014-03-151-1/+7
| | | | | |
| * | | | | ENH: release gil for indexing operationsJulian Taylor2014-03-153-5/+48
| | | | | | | | | | | | | | | | | | | | | | | | closes gh-4310
* | | | | | Merge pull request #4498 from meltingwax/meltingwax/2092Charles Harris2014-03-151-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | DOC: specify that 2d array must be non-empty in np.poly error message.
| * | | | | | DOC: specify that 2d array must be non-empty in np.poly error message.Daniel da Silva2014-03-151-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | Fixes #2092. Changes message passed to ValueError.
* | | | | | explain character codes of dtype.kindHans Meine2014-03-151-1/+13
| |/ / / / |/| | | | | | | | | | | | | | "one of 'biufcSUV'" is not very helpful if it stands alone, also the 'O' typecode was missing.
* | | | | Merge pull request #3908 from juliantaylor/median-percentilepre-removal-numpybookCharles Harris2014-03-132-13/+235
|\ \ \ \ \ | |_|/ / / |/| | | | add extended axis and keepdims support to percentile and median
| * | | | MAINT: revert back to separate median implementationJulian Taylor2014-03-132-66/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merging median and percentile make would break astropy and quantities as we don't call mean anymore. These packages rely on overriding mean to add their own median behavior.
| * | | | ENH: add extended axis and keepdims support to median and percentileJulian Taylor2014-03-132-69/+231
| | | | |
* | | | | Merge pull request #4339 from abalkin/issue-2219Julian Taylor2014-03-132-1/+80
|\ \ \ \ \ | |/ / / / |/| | | | ENH: Implemented ma.append
| * | | | ENH: Implemented ma.appendLev Abalkin2014-03-112-1/+80
| | | | | | | | | | | | | | | | | | | | Fixes #2219.
* | | | | Merge pull request #4473 from Sankarshan-Mudkavi/fix-gh-2208Charles Harris2014-03-132-0/+7
|\ \ \ \ \ | | | | | | | | | | | | BUG: Fixes gh-2208, alignment in subarrays
| * | | | | Added tests for fix in alignment of subarrays, gh-2208Sankarshan Mudkavi2014-03-121-0/+6
| | | | | |
| * | | | | BUG: Fixes gh-2208, alignment in subarraysSankarshan Mudkavi2014-03-071-0/+1
| | | | | |
* | | | | | Merge pull request #4466 from seberg/delay-size-nditer-size-checkCharles Harris2014-03-127-11/+232
|\ \ \ \ \ \ | | | | | | | | | | | | | | BUG: Delay npyiter size check when size may change
| * | | | | | BUG: Delay npyiter size check when size may changeSebastian Berg2014-03-127-11/+232
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a multi index is tracked and RemoveAxis can be called, the size of the iterator may still change. This was causing failures for example for the SVD, because the gufunc machinery requires a temporarily larger iterator for output allocation. Thanks to Jaime (jaime.frio@gmail.com) for noting that this is plausible since the size check can be delayed pretty ok up until GetIterNext (or similar functions). Closes gh-4442
* | | | | | Merge pull request #4479 from leomao/masterCharles Harris2014-03-122-4/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | BUG: when initialize a vectorize object, always set self._ufunc to None first. fix #3285.
| * | | | | | remove assert in _get_ufunc_and_otypes, add a test in test_function_base.pyLeoMao2014-03-122-3/+9
| | | | | | |
| * | | | | | when initialize a vectorize object, always set self._ufunc to None first. ↵LeoMao2014-03-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #3285
* | | | | | | Merge pull request #4475 from juliantaylor/gil-releaseCharles Harris2014-03-1116-112/+116
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Gil release for nonzero
| * | | | | | | ENH: release gil for np.packbits and np.unpackbitsJulian Taylor2014-03-111-0/+10
| | | | | | | |
| * | | | | | | ENH: release gil for np.take and np.arangeJulian Taylor2014-03-1110-29/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implies adapting check_and_adjust_index to allow threadsafe error reporting.
| * | | | | | | ENH: release gil for nonzeroJulian Taylor2014-03-111-0/+11
| | | | | | | |
| * | | | | | | MAINT: add NPY_BEGIN_THREAD_NDITER and remove unnecessary needs_api checksJulian Taylor2014-03-117-83/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the thread variable is initialized to NULL and checked by the end macro so the needs_api check is redundant.
* | | | | | | | BUG: add missing gufunc failure return values and missing malloc fail checkJulian Taylor2014-03-111-0/+7
|/ / / / / / /
* | | | | | | BUG: prevent nonzero memchr from running out of boundsJulian Taylor2014-03-101-1/+2
| | | | | | |
* | | | | | | Merge pull request #4471 from meltingwax/meltingwax/2552-r2Charles Harris2014-03-101-1/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | ENH: Explicitly use __eq__ in assert_equal(a,b)
| * | | | | | | ENH: Explicitly use __eq__ in assert_equal(a,b)Daniel da Silva2014-03-091-1/+3
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Fixes #2552. Changes primary test expression in function.
* | | | | | | ENH: improve PyArray_Nonzero for sparse bool masksJulian Taylor2014-03-092-14/+50
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | we already count the number of true elements so we can decide when its sparse and use faster (4-byte) vectorized npy_memchr.
* | | | | | Merge pull request #4459 from Sankarshan-Mudkavi/fix-gh-1367Julian Taylor2014-03-072-2/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | ENH: Added an output argument for numpy.outer
| * | | | | | Added versiontag to docstringSankarshan Mudkavi2014-03-071-0/+2
| | | | | | |
| * | | | | | ENH: Added an output argument for numpy.outerSankarshan Mudkavi2014-03-052-2/+13
| | | | | | |
* | | | | | | DOC: Fixed documentation on lstsq function on when it return an empty ↵Cimarron Mittelsteadt2014-03-061-1/+1
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | residuals array
* | | | | | Revert "Merge pull request #4421 from meltingwax/meltingwax/4382"Daniel da Silva2014-03-055-89/+23
| | | | | | | | | | | | | | | | | | | | | | | | Caused SciPy tests to fail when built with this NumPy.
* | | | | | Merge pull request #4450 from juliantaylor/api-restoreCharles Harris2014-03-053-9/+53
|\ \ \ \ \ \ | |/ / / / / |/| | | | | BUG: restore api for file npy_PyFile_Dup and npy_PyFile_DupClose
| * | | | | BUG: restore api for file npy_PyFile_Dup and npy_PyFile_DupCloseJulian Taylor2014-03-053-9/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | breaking the api breaks matplotlib build and pip installation. Introduce npy_PyFile_Dup2 and npy_PyFile_DupClose2 as replacements
* | | | | | Merge pull request #4421 from meltingwax/meltingwax/4382Charles Harris2014-03-055-23/+89
|\ \ \ \ \ \ | | | | | | | | | | | | | | BUG: Fix support for builds with directories that contain whitespace
| * | | | | | BUG: Fix support for builds in dirs with whitespaceDaniel da Silva2014-03-055-23/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add escaping and quoting of dirs and enabled POSIX support in lexer. Closes #4382.
* | | | | | | Merge pull request #4449 from juliantaylor/vectorize-isnanCharles Harris2014-03-053-52/+71
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | ENH: vectorize isnan
| * | | | | | | ENH: vectorize isnanJulian Taylor2014-03-053-17/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | isnan on amd64 is equivalent to x != x so we can use the existing code with only adding a specialization for unary loops.
| * | | | | | | MAINT: remove some duplication in vectorized compare codeJulian Taylor2014-03-051-36/+22
| | | | | | | |
* | | | | | | | Merge pull request #4447 from charris/small-optimizationJulian Taylor2014-03-051-3/+3
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | MAINT: Use static variable in numpy/core/src/multiarray/descriptor.c.
| * | | | | | | MAINT: Use static variable in numpy/core/src/multiarray/descriptor.c.Charles Harris2014-03-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This produces slightly cleaner code. When the const string array is not static, gcc puts it on the stack and initializes it on every entry.