summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | ENH: Add typing for MT19937 and PhiloxKevin Sheppard2021-02-136-61/+92
| | | | | | | | | | | | | | | | | | | | | | | | | Add typing for remaining core bit generators Clean up remaining files
| * | | | ENH: Add typing for PCG64 and SFC64Kevin Sheppard2021-02-133-16/+107
| | | | | | | | | | | | | | | | | | | | Add initial typing for select bit generators
| * | | | MAINT: Improve typing of BitGeneratorKevin Sheppard2021-02-132-19/+50
| | | | | | | | | | | | | | | | | | | | | | | | | Fix initial bugs Add _Interface named tuple
| * | | | ENH: Initial typing of randomKevin Sheppard2021-02-132-2/+62
| | | | | | | | | | | | | | | | | | | | Add typing to the lowest-level building blocks on random
* | | | | Merge pull request #18420 from seberg/override-leaksMatti Picus2021-02-161-0/+7
|\ \ \ \ \ | | | | | | | | | | | | BUG: Fix tiny memory leaks when `like=` overrides are used
| * | | | | BUG: Fix tiny memory leaks when `like=` overrides are usedSebastian Berg2021-02-151-0/+7
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | I thought I had fixed these leaks, but it appears I missed some. We probably should backport this to 1.20.x (its simple), but the leaks are also pretty harmless unless someone uses `like=` hundrets of thousands of times in a running program (and its a new fetaure).
* | | | | Merge pull request #18415 from pearu/gh-2763Matti Picus2021-02-151-2/+1
|\ \ \ \ \ | | | | | | | | | | | | MAINT: Update END statements parsing for recent Fortran standards.
| * | | | | MAINT: Update END statement parsing for recent Fortran standards. Closes #2763Pearu Peterson2021-02-151-2/+1
| | | | | |
* | | | | | Merge pull request #18405 from mdubravski/correlateFixMelissa Weber Mendonça2021-02-151-0/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | DOC: Mention `scipy.signal.correlate` and FFT method in `np.correlate`
| * | | | | | Update numpy/core/numeric.pymdubravski2021-02-141-1/+3
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: Matti Picus <matti.picus@gmail.com>
| * | | | | | Update numpy/core/numeric.py mdubravski2021-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rewording to eliminate redundancy Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com>
| * | | | | | Update numpy/core/numeric.py mdubravski2021-02-131-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rewording to eliminate redundancy Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com>
| * | | | | | correlate fixmdubravski2021-02-121-0/+5
| | |_|/ / / | |/| | | |
* | | | | | BUG: Fix parsing continued lines that follow comment lines. Closes #2848Pearu Peterson2021-02-152-3/+41
| |/ / / / |/| | | |
* | | | | Merge pull request #18183 from touqir14/masterMatti Picus2021-02-152-69/+182
|\ \ \ \ \ | |/ / / / |/| | | | MAINT: Optimize numpy.count_nonzero for int types using SIMD operations
| * | | | fix upSayed Adel2021-02-131-1/+1
| | | | |
| * | | | cleanupSayed Adel2021-02-131-264/+148
| | | | |
| * | | | Ensured overflow does not happen for 16 and 32 bit intsTouqir Sajed2021-02-081-8/+26
| | | | |
| * | | | Modified PyArray_CountNonzero to discriminate between types based on elsizeTouqir Sajed2021-02-081-10/+49
| | | | |
| * | | | removed the target variable and changed the loop as suggested by Sayed AdelTouqir Sajed2021-02-071-20/+8
| | | | |
| * | | | another attempt to fix build issuesTouqir Sajed2021-02-071-20/+18
| | | | |
| * | | | some fixes for the build problemsTouqir Sajed2021-02-071-4/+13
| | | | |
| * | | | fixed CI errors and optimized further simd_16 and simd_32Touqir Sajed2021-02-071-17/+17
| | | | |
| * | | | Replaced manual sums with horizontal simd sums for count_nonzero_16/64Touqir Sajed2021-02-051-12/+3
| | | | |
| * | | | Merge remote-tracking branch 'upstream/master'Touqir Sajed2021-02-05112-1266/+2757
| |\ \ \ \
| * | | | | Removed commented out code from PyArray_CountNonzeroTouqir Sajed2021-01-191-19/+0
| | | | | |
| * | | | | Merged count_nonzero_int16/int32/int64 into count_nonzero_int and added ↵Touqir Sajed2021-01-191-140/+66
| | | | | | | | | | | | | | | | | | | | | | | | benchmarks
| * | | | | Added tests for i1,i2,i4,i8 types for numpy.count_nonzero functionTouqir Sajed2021-01-181-4/+14
| | | | | |
| * | | | | Added support for SIMD operations for int types in numpy.count_nonzero functionTouqir Sajed2021-01-181-9/+278
| | | | | |
* | | | | | BUG: Fix unique handling of nan entries. (#18070)Filip Trojan2021-02-122-1/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * benchmark bench_lib.Unique added * extended test_unique_1d * modify _unique1d * extend test with return_index, return_inverse and return_counts parameters * documentation updated * Update numpy/lib/arraysetops.py Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com> * full coverage of nan types Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com> * added tests for the datetime like dtypes * nan as vector of length 1 * use aux[-1] as nan, ..versionchanged, release note * for complex arrays all NaN values are considered equivalent Co-authored-by: filip_trojan <Tarantula2018> Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com>
* | | | | | Merge pull request #18390 from BvB93/einsumCharles Harris2021-02-128-3/+237
|\ \ \ \ \ \ | | | | | | | | | | | | | | ENH: Add annotations for `np.core.einsumfunc`
| * | | | | | TST: Fixed a broken `reveal` testBas van Beek2021-02-111-54/+18
| | | | | | |
| * | | | | | TST: Removed an incorrect `dict.values()` callBas van Beek2021-02-111-1/+1
| | | | | | |
| * | | | | | TST: Add typing tests for `np.core.einsumfunc`Bas van Beek2021-02-113-0/+120
| | | | | | |
| * | | | | | ENH: Add annotations for `np.core.einsumfunc`Bas van Beek2021-02-102-2/+143
| | | | | | |
| * | | | | | MAINT: Added `_DTypeLikeComplex_co`, an alias of all dtype-likes that can be ↵Bas van Beek2021-02-102-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | cast into `complex`
* | | | | | | Merge pull request #18339 from melissawm/matmul_docsCharles Harris2021-02-121-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | DOC: Discussion on the @ operator and the matrix class
| * | | | | | | Applying suggestions from PR review.melissawm2021-02-051-1/+1
| | | | | | | |
| * | | | | | | DOC: Discussion on the @ operator and the matrix classmelissawm2021-02-051-1/+1
| | |_|/ / / / | |/| | | | |
* | | | | | | BUG: Fix typo in char_codesKevin Sheppard2021-02-121-2/+2
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | Add missing comma in lists of char codes
* | | | | | MAINT: Delete unused "src" clearing functions (#18347)Sebastian Berg2021-02-112-324/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existance of both src and dst clearing confused my quite a lot and made me wonder how best to refactor it. Turns out, we don't actually *use* src clearing to begin with. I think in the long run, we should use a unary clear function (with or without move-references). I am fine with calling that through GetDTypeTransferFunction (for now), but if there is a need to clear a "destination" (rather than NULL it as initalization), that is best solved by a unary function. Ideally, we create a unary `DType.__decref__ = ArrayMethod()` in the (fairly short) run. We currently have two places that can clear an array `PyArray_XDECREF()` and the dtype "transfer" functions. We should have only one place. The version in the dtype-transfer code is the better one, but it might have the flaw that its setup could fail in a low-memory scenario, which would mean we would have to do a fatal error probably. In any case, this simply deletes currently unused and privat cod, which is always good in my book.
* | | | | | MAINT: Remove unicode markersKevin Sheppard2021-02-113-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | Remove unnecessary unicode markers (u"")
* | | | | | MAINT: Remove dummy_threadingKevin Sheppard2021-02-114-17/+4
| | | | | | | | | | | | | | | | | | | | | | | | Threading is guaranteed to be supported in Python 3.7+
* | | | | | BUG: Remove check in shuffle for non-ndarraysKevin Sheppard2021-02-112-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove ndim for non-ndarrays and check axis is 0 closes #18142
* | | | | | Fixed chain exception for array_split func (#18317)Abhay Raghuvanshi2021-02-101-1/+1
| | | | | |
* | | | | | Merge pull request #18274 from tautaus/masterSebastian Berg2021-02-103-6/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT: Chain exceptions in linalg
| * | | | | | See #15986. Chain exceptions in linalgtautaus2021-01-313-6/+6
| | | | | | |
* | | | | | | Adjusted formulas to estimator and removed repeatJamie2021-02-101-2/+1
| | | | | | |
* | | | | | | Merge remote-tracking branch 'upstream/master' into histogram-binwidth-docJamie2021-02-1025-54/+567
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge pull request #18369 from AngelGris/bugfix-for-in1d-with-tuplesCharles Harris2021-02-102-0/+37
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | BUG: np.in1d bug on the object array (issue 17923)