summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
* BUG: incorrect error fallthrough in nditerAllan Haldane2021-03-022-1/+14
| | | | Fixup to gh-18450
* Merge pull request #18509 from timhoffm/doc-link-fixMatti Picus2021-03-022-8/+9
|\ | | | | DOC: trunc, floor, ceil, rint, fix should all link to each other
| * revert changes to note, add a sentence about fixMatti Picus2021-03-021-3/+3
| |
| * DOC: trunc, floor, ceil, rint, fix should all link to each other in see alsoTim Hoffmann2021-03-012-8/+9
| |
* | TST: Branch coverage improvement for `np.polynomial` (#18499)jbCodeHub2021-02-283-0/+34
|/ | | | | | | * added tests for vander_nd in test_polyutils to cover some of the missed branches * added tests to polyline and vander to improve branch coverage * added tests to test_legendre.py to improve branch coverage
* Merge pull request #18397 from BvB93/index-tricksCharles Harris2021-02-278-29/+389
|\ | | | | ENH: Add annotations for `np.lib.index_tricks`
| * MAINT: Relax the type-constraints of `IndexExpression.__getitem__`Bas van Beek2021-02-254-9/+9
| |
| * TST: Add typing tests for `np.lib.index_tricks`Bas van Beek2021-02-253-0/+141
| |
| * ENH: Expose `index_tricks` content to `np` and `np.lib` namespaceBas van Beek2021-02-252-26/+35
| |
| * ENH: Add annotations for `np.lib.index_tricks`Bas van Beek2021-02-252-2/+207
| |
| * MAINT: Added the `_ArrayLikeInt` type aliasBas van Beek2021-02-252-1/+6
| | | | | | | | | | An invariant-ish array-like consisting of int-like objects. Note that it is not truly invariant due to `builtins.bool` inheriting from `builtins.int`
* | Merge pull request #18497 from BvB93/einsumfuncCharles Harris2021-02-271-3/+2
|\ \ | | | | | | TST: Remove the `einsum` typing tests reliance on issuing a `ComplexWarning`
| * | TST: Remove the `einsum` typing tests reliance on issuing a `ComplexWarning`Bas van Beek2021-02-261-3/+2
| | |
* | | Port error to RandomStateKevin Sheppard2021-02-263-2/+23
| | |
* | | Address commentsKevin Sheppard2021-02-261-9/+9
| | |
* | | Accept suggestion Kevin Sheppard2021-02-261-1/+2
| | | | | | | | | | | | | | | Use if else. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* | | ENH: Improve error message in multinomialKevin Sheppard2021-02-262-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | Improve error message when the sum of pvals is larger than 1 when the input data is an ndarray closes #8317 xref #16732
* | | CLN: Move to legacy functionKevin Sheppard2021-02-264-20/+82
| | | | | | | | | | | | | | | | | | Avoid conditional compilation and move old version to legacy_vonmises Small clean up Additional comments
* | | BUG: Prevent RandomState from changingKevin Sheppard2021-02-266-19/+45
| | | | | | | | | | | | | | | | | | | | | | | | Apply vonmises fix only to Generator Add tests for correctness closes #17378 closes #17275
* | | Added test for [-np.pi, np.pi] range for the von mises distribution using ↵Raúl Montón Pinillos2021-02-263-0/+9
| | | | | | | | | | | | large values of kappa (>1e6)
* | | Fixed style and added check for bounds in [-pi,pi] interval.Raúl Montón Pinillos2021-02-261-6/+17
| | |
* | | Fixed Von Mises distribution for big values of kappa by falling back to a ↵Raúl Montón Pinillos2021-02-261-3/+8
|/ / | | | | | | normal distribution (which the von mises distribution converges to).
* | BUG: Fix non-versioneer usesEric Larson2021-02-251-1/+1
|/
* Merge pull request #18475 from Matt-Ord/add-type-annotation-to-np-eye-2Charles Harris2021-02-241-1/+9
|\ | | | | ENH: Added type annotations to eye() function
| * Apply suggestions from code review Matt-Ord2021-02-231-4/+4
| | | | | | | | | | Fixed annotations of eye() Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com>
| * added type annotations to eyeMatt2021-02-231-1/+9
| |
* | Merge pull request #18479 from cgohlke/patch-4Matti Picus2021-02-241-1/+6
|\ \ | | | | | | BUG: check if PyArray_malloc succeeded
| * | Goto done when an error condition is reachedChristoph Gohlke2021-02-241-0/+1
| | |
| * | BUG: check if PyArray_malloc succeededChristoph Gohlke2021-02-231-1/+5
| | |
* | | Merge pull request #18433 from bashtage/randomstate-typingMatti Picus2021-02-249-131/+3925
|\ \ \ | | | | | | | | ENH: Add typing for RandomState
| * | | BUG: Remove incorrect variable nameKevin Sheppard2021-02-241-1/+0
| | | | | | | | | | | | | | | | Remove incorrect variable name in randint
| * | | CLN: Clean up random typingKevin Sheppard2021-02-242-22/+7
| | | | | | | | | | | | | | | | | | | | Clean unnecessary definitions Fix small typing errors
| * | | TST: Add final testsKevin Sheppard2021-02-241-311/+347
| | | |
| * | | Use {int_} for int return typesKevin Sheppard2021-02-242-66/+66
| | | |
| * | | Small fixesKevin Sheppard2021-02-243-7/+4
| | | |
| * | | BUG: Fix typing bugsKevin Sheppard2021-02-243-78/+76
| | | |
| * | | ENH: Add tests for RandomStateKevin Sheppard2021-02-243-4/+1171
| | | |
| * | | BUG: Corect typing statements in mtrandKevin Sheppard2021-02-242-27/+64
| | | | | | | | | | | | | | | | | | | | Bring over changes from Generator to RandomState where appropriate Remove attributes not in RandomState
| * | | TST: Add tests for dtype and outKevin Sheppard2021-02-242-1/+83
| | | | | | | | | | | | | | | | Add further tests for functions that accept out and dtype arguments
| * | | ENH/BUG: Improve definitions and fix bugsKevin Sheppard2021-02-243-42/+896
| | | | | | | | | | | | | | | | | | | | | | | | Add tests Fix related bugs Improve specificity of definitions
| * | | ENH/BUG: Add tests and correct typing issuesKevin Sheppard2021-02-248-40/+1077
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add tests for lower level components Correct errors found in testing Improve specificity of tests Other small fixes to docs and typing
| * | | TST: Add tests for random typingKevin Sheppard2021-02-243-0/+56
| | | |
| * | | MAINT: Restructure imports in pyi fileKevin Sheppard2021-02-241-51/+53
| | | |
| * | | ENH: Add typing for RandomStateKevin Sheppard2021-02-243-61/+605
| | | | | | | | | | | | | | | | | | | | Add typing for RandomState Small fixes to Generator's typing
* | | | Merge pull request #18476 from cgohlke/patch-1Sebastian Berg2021-02-241-2/+2
|\ \ \ \ | | | | | | | | | | BUG: Remove suspicious type casting
| * | | | MAINT: cast Py_ssize_t to intChristoph Gohlke2021-02-231-1/+1
| | | | |
| * | | | MAINT: Remove suspicious type castingChristoph Gohlke2021-02-231-1/+1
| | |/ / | |/| |
* | | | DOC: Explaing differences in code paths in choiceKevin Sheppard2021-02-242-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add explanation for different results when using user-specified probabilities even if uniform closes #18172
* | | | DOC: Correct poisson docstringKevin Sheppard2021-02-242-4/+6
| |/ / |/| | | | | | | | closes #18314
* | | Merge pull request #18478 from cgohlke/patch-3Sebastian Berg2021-02-231-1/+1
|\ \ \ | | | | | | | | BUG: verify pointer against NULL before using it