Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | BUG: core: make Numpy build again on Python 3 and 2.4 | Pauli Virtanen | 2011-02-02 | 6 | -57/+183 | |
| | | ||||||
| * | BUG: Fix exception syntax to conform to python 2.4. | Charles Harris | 2011-02-01 | 1 | -1/+1 | |
| | | ||||||
| * | ENH: iter: Allow copies of read-only scalar arrays even if COPY isn't specified | Mark Wiebe | 2011-01-30 | 3 | -39/+79 | |
| | | | | | | | | | | | | | | When buffering, this reduces the work needed by a lot. For non-reduction operands, the iterator always provides contiguous data when an operand is buffered, but by making a copy the operand can be flagged as never needing buffering | |||||
| * | BUG: iter: Fix checking of allocated output with op_axes specified | Mark Wiebe | 2011-01-30 | 2 | -58/+63 | |
| | | ||||||
| * | BUG: core: Fix "a[...] += 1" with array scalar 'a' | Mark Wiebe | 2011-01-30 | 3 | -4/+78 | |
| | | | | | | | | | | | | | | | | | | This was crashing, because it appears Python does this: 1. call the array_subscript to get a[...], then calls inplace add on it 2. call the array_ass_subscript with (a, Ellipsis, a), which for an object array was setting the single element of a to point to itself, and caused crashes. This case is now checked, and success is returned immediately when an array is assigned to itself this way. | |||||
| * | WRN: core: Remove many warnings gcc produces with stricter flags | Mark Wiebe | 2011-01-29 | 7 | -163/+183 | |
| | | ||||||
| * | BUG: Fix crash in PyArray_Nonzero due to uninitialized variable usage | Mark Wiebe | 2011-01-29 | 4 | -19/+19 | |
| | | ||||||
| * | STY: Rename NPY_ITER_DONT_REVERSE_AXES to NPY_ITER_DONT_NEGATE_STRIDES to be ↵ | Mark Wiebe | 2011-01-28 | 3 | -4/+4 | |
| | | | | | | | | more intuitive | |||||
| * | Merge branch 'new_iterator' - new iterator, ufunc update, restore 1.5 ABI | Mark Wiebe | 2011-01-28 | 62 | -4433/+24973 | |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New Iterator - Read doc/neps/new-iterator-ufunc.rst. UFunc Update - Change all ufunc functions to use the new iterator. This replaces the inline buffering with iterator buffering, except for the reductions and generalized ufunc which use updateifcopy at the moment. Also adds out= and order= parameters to all ufuncs. Restore 1.5 ABI - This was done by moving the new type numbers to the end of the type enumeration, and replacing all type promotion code with a table-based approach. The ArrFuncs was restored by putting the new type cast functions into the cast dictionary, originally designed just for custom types. Conflicts: numpy/core/src/multiarray/ctors.c numpy/core/tests/test_regression.py | |||||
| | * | ENH: core: Add support for numpy.ravel(a, order='K') | Mark Wiebe | 2011-01-28 | 8 | -72/+198 | |
| | | | ||||||
| | * | ENH: core: Add dtype= and order= parameters to zeros_like, ones_like, and ↵ | Mark Wiebe | 2011-01-28 | 10 | -109/+249 | |
| | | | | | | | | | | | | empty_like | |||||
| | * | ENH: core: Add PyArray_NewLikeArray function | Mark Wiebe | 2011-01-28 | 4 | -23/+138 | |
| | | | | | | | | | | | | | | | | | | This function implements the numpy.empty_like semantics, but supports the new NPY_KEEPORDER enumeration value as well as switching to a different data type. | |||||
| | * | STY: core: Improve formating of ParseTuple argument lists | Mark Wiebe | 2011-01-28 | 1 | -119/+105 | |
| | | | | | | | | | | | | Now in methods.c each argument gets its own line, so its easier to validate. | |||||
| | * | WRN: Fix some warnings and suspicious looking code | Mark Wiebe | 2011-01-27 | 6 | -14/+13 | |
| | | | ||||||
| | * | BUG: Single file build had wrong promotion table type | Mark Wiebe | 2011-01-27 | 1 | -1/+1 | |
| | | | ||||||
| | * | ENH: iter: Improve performance of buffering reduce operations | Mark Wiebe | 2011-01-27 | 2 | -135/+840 | |
| | | | ||||||
| | * | WRN: iter: Fix half-float warnings, other small tweaks | Mark Wiebe | 2011-01-27 | 5 | -27/+23 | |
| | | | ||||||
| | * | ENH: iter: Add a per-operand REDUCE flag | Mark Wiebe | 2011-01-27 | 1 | -10/+20 | |
| | | | ||||||
| | * | ENH: iter: Remove internal NPY_OP_ITFLAG_COPY flag | Mark Wiebe | 2011-01-27 | 1 | -20/+14 | |
| | | | ||||||
| | * | ENH: iter: Change permutation to a fixed-size char array | Mark Wiebe | 2011-01-27 | 1 | -83/+57 | |
| | | | ||||||
| | * | ENH: ufunc: Add new iterator version of generalized ufuncs | Mark Wiebe | 2011-01-27 | 5 | -280/+476 | |
| | | | ||||||
| | * | ENH: core: Make NumPy trunk ABI-compatible with 1.5 | Mark Wiebe | 2011-01-27 | 7 | -279/+305 | |
| | | | ||||||
| | * | ENH: ufunc: Move reduceat to its own function, have it use the iterator | Mark Wiebe | 2011-01-27 | 1 | -218/+381 | |
| | | | ||||||
| | * | BLD: Add einsum to the one file build | Mark Wiebe | 2011-01-27 | 1 | -0/+1 | |
| | | | ||||||
| | * | BUG: core: Fix things so scipy trunk passes all tests (but one) | Mark Wiebe | 2011-01-27 | 8 | -64/+112 | |
| | | | | | | | | | | | | | | | | | | | | | With this patch, the latest scipy trunk (7087), built against NumPy 1.5.1, passes all tests when run against the numpy trunk. The single failing test, test_imresize, fails because it tests all float types, and the new 'half' type lacks the precision to pass that test. | |||||
| | * | BUG: ufunc: Fix buffered reduce | Mark Wiebe | 2011-01-27 | 2 | -52/+65 | |
| | | | ||||||
| | * | ENH: core: Make PyArray_ArrFuncs have the same structure as in 1.5 and earlier | Mark Wiebe | 2011-01-25 | 4 | -78/+103 | |
| | | | ||||||
| | * | ENH: core: Shuffle type numbers so any new ones go on the end. | Mark Wiebe | 2011-01-25 | 10 | -114/+212 | |
| | | | ||||||
| | * | ENH: ufunc: Remove dead code from ufunc_object.c | Mark Wiebe | 2011-01-25 | 2 | -2046/+20 | |
| | | | ||||||
| | * | ENH: ufunc: Convert Reduceat to use the new iterator | Mark Wiebe | 2011-01-25 | 2 | -247/+281 | |
| | | | | | | | | | | | | | | | | | | | | | Reduceat doesn't fit into the new iterator idea quite as well as the others, so it doesn't get the matching memory layout. Neither it nor accumulate get buffering, though accumulate could use buffering if it was implemented slightly differently. | |||||
| | * | ENH: ufunc: Convert Accumulate to use the new iterator | Mark Wiebe | 2011-01-25 | 3 | -293/+270 | |
| | | | ||||||
| | * | ENH: iter: Add NpyIter_RemoveAxis function to the iterator API | Mark Wiebe | 2011-01-25 | 5 | -31/+216 | |
| | | | ||||||
| | * | ENH: ufunc: Release the GIL during ufunc computations | Mark Wiebe | 2011-01-25 | 3 | -2/+104 | |
| | | | ||||||
| | * | ENH: ufunc: Convert UFunc Reduce to use the new iterator | Mark Wiebe | 2011-01-25 | 3 | -161/+534 | |
| | | | ||||||
| | * | DOC: core: Document the new einsum function | Mark Wiebe | 2011-01-24 | 3 | -2/+151 | |
| | | | ||||||
| | * | ENH: core: Add SSE intrinsic support to some of the einsum core loops | Mark Wiebe | 2011-01-24 | 4 | -105/+1408 | |
| | | | ||||||
| | * | ENH: core: EinSum function works | Mark Wiebe | 2011-01-24 | 3 | -16/+319 | |
| | | | ||||||
| | * | ENH: core: Implement iterator set up for einsum | Mark Wiebe | 2011-01-24 | 5 | -165/+632 | |
| | | | ||||||
| | * | ENH: core: Start einsum function, add copyright notices to files | Mark Wiebe | 2011-01-23 | 11 | -3/+928 | |
| | | | ||||||
| | * | ENH: iter: Add ability to do buffered iteration of reductions | Mark Wiebe | 2011-01-22 | 4 | -113/+396 | |
| | | | | | | | | | | | | | | | This also tightens the error checking of reduction operations. Now if you want to allow a reduction, you must specify NPY_ITER_REDUCE_OK. | |||||
| | * | ENH: core: Make the debug printf tracing macros more systematic | Mark Wiebe | 2011-01-22 | 3 | -80/+104 | |
| | | | ||||||
| | * | STY: iter: Change if statements in trivial iteration macros | Mark Wiebe | 2011-01-22 | 1 | -5/+3 | |
| | | | ||||||
| | * | ENH: iter: Improve broadcasting error message | Mark Wiebe | 2011-01-22 | 2 | -25/+155 | |
| | | | ||||||
| | * | ENH: ufunc: Add support for the sig= type_tuple parameter to new ufunc code | Mark Wiebe | 2011-01-21 | 2 | -35/+357 | |
| | | | ||||||
| | * | ENH: ufunc: Implement user loop searching | Mark Wiebe | 2011-01-21 | 3 | -138/+344 | |
| | | | ||||||
| | * | ENH: ufunc: Get all tests passing with new iterator ufunc except generalized ↵ | Mark Wiebe | 2011-01-21 | 6 | -23/+73 | |
| | | | | | | | | | | | | ufunc tests | |||||
| | * | ENH: ufunc: Change object/reference handling code to treat NULL as Py_None ↵ | Mark Wiebe | 2011-01-21 | 3 | -49/+30 | |
| | | | | | | | | | | | | more consistently | |||||
| | * | BUG: core: Fix issue converting nested list with a number to a string type | Mark Wiebe | 2011-01-21 | 2 | -41/+44 | |
| | | | ||||||
| | * | BUG: iter: Fix 0-size edge case with trivial iteration macros | Mark Wiebe | 2011-01-21 | 4 | -4/+25 | |
| | | | ||||||
| | * | ENH: ufunc: Make many more tests pass with the new ufunc code | Mark Wiebe | 2011-01-21 | 10 | -89/+258 | |
| | | |