Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | ENH: Add `__path__` annotations to all sub-packages | Bas van Beek | 2021-07-25 | 1 | -0/+1 | |
| | | | ||||||
| | * | ENH: Add annotations for `<module>.test` objects | Bas van Beek | 2021-07-25 | 1 | -0/+3 | |
| | | | ||||||
| * | | DOC: Fix typo in PCG64 (#19538) | david-cortes | 2021-07-21 | 1 | -2/+2 | |
| |/ | | | | | | | | | * DOC: Fix typo in PCG64 * DOC: fix typo in PCG64DXSM | |||||
| * | Merge pull request #19306 from charris/fix-doc-pdf-build | Charles Harris | 2021-06-24 | 2 | -2/+2 | |
| |\ | | | | | | | DOC: Fix some docstrings that crash pdf generation. | |||||
| | * | DOC: Fix some docstrings crash pdf generation. | Charles Harris | 2021-06-22 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | The byte string output of numpy.Generator.bytes must have the `\` properly escaped. Also make a small fix to the legacy docstring. | |||||
| * | | BUG: Correct Cython declaration | Kevin Sheppard | 2021-06-24 | 1 | -1/+1 | |
| |/ | | | | | | | | | | | Correct return type from double to void closes #19312 | |||||
| * | ENH: manually inline code for performance. | Robert Kern | 2021-05-07 | 1 | -14/+29 | |
| | | ||||||
| * | DOC: more completely describe the implemented variant. | Robert Kern | 2021-05-05 | 1 | -1/+4 | |
| | | ||||||
| * | BUG: Wrong logic for Windows | Robert Kern | 2021-05-04 | 1 | -1/+0 | |
| | | ||||||
| * | ENH: add the emulated 128-bit math for PCG64DXSM | Robert Kern | 2021-05-04 | 1 | -1/+59 | |
| | | ||||||
| * | ENH: Add PCG64DXSM implementation. | Robert Kern | 2021-05-04 | 11 | -7/+2388 | |
| | | ||||||
| * | DOC: Improve random.choice() documentation | Bharat123rox | 2021-04-18 | 2 | -7/+9 | |
| | | ||||||
| * | DOC: Fix spelling of "reccomended" ("recommended") (#18779) | Deepyaman Datta | 2021-04-15 | 1 | -1/+1 | |
| | | ||||||
| * | Merge pull request #18728 from anthonyhvo12/avo-exceptions-chaining | Charles Harris | 2021-04-12 | 1 | -2/+2 | |
| |\ | | | | | | | MAINT: Add exception chaining where appropriate | |||||
| | * | change to suitable raise from and add line breaks #2 | Anthony Vo | 2021-04-06 | 1 | -1/+1 | |
| | | | ||||||
| | * | change to suitable raise from and add line breaks | Anthony Vo | 2021-04-06 | 1 | -1/+1 | |
| | | | ||||||
| | * | Merge branch 'main' of https://github.com/numpy/numpy into ↵ | Anthony Vo | 2021-04-05 | 17 | -259/+1267 | |
| | |\ | | | | | | | | | | | | | avo-exceptions-chaining | |||||
| | * | | chain exceptions when appropriate | Anthony Vo | 2021-04-05 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | BUG: Check out requirements and raise when not satisfied | Kevin Sheppard | 2021-04-07 | 2 | -9/+53 | |
| | |/ | |/| | | | | | | | | | | | | | Check that out is C-contiguous when using user-supplied arguments closes #18704 | |||||
| * | | PERF: Use exponentials in place of inversion | Kevin Sheppard | 2021-03-22 | 5 | -10/+20 | |
| | | | | | | | | | | | | Use exponentials rather than generating exponentials via inversion | |||||
| * | | MAINT: Add mising type to cdef statement | Kevin Sheppard | 2021-03-19 | 3 | -4/+4 | |
| | | | | | | | | | | | | | | | Add missing type to cdef statement Small spelling fix | |||||
| * | | Merge pull request #18438 from seberg/shuffle-objects | Charles Harris | 2021-03-18 | 3 | -3/+41 | |
| |\ \ | | | | | | | | | BUG: Correct shuffling of objects in 1-d array likes | |||||
| | * | | STY: Fix hanging indentation. | Charles Harris | 2021-03-17 | 1 | -3/+3 | |
| | | | | ||||||
| | * | | STY: Break long line. | Charles Harris | 2021-03-17 | 1 | -1/+3 | |
| | | | | ||||||
| | * | | BUG: Correct shuffling of objects in 1-d array likes | Sebastian Berg | 2021-02-22 | 3 | -3/+39 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While introducing the buffer fixed the in-place problem years ago, running valgrind (and masked arrays) pointed out to me that without the additional `...` NumPy will unpack and repack objects leading to slightly incorrect results. MAINT: Warn about shuffle bug instead of fixing it in old random API | |||||
| * | | | Merge pull request #18635 from bashtage/random-integer-exception-default | Matti Picus | 2021-03-18 | 2 | -10/+32 | |
| |\ \ \ | | | | | | | | | | | ENH: Improve the exception for default low in Generator.integers | |||||
| | * | | | ENH: Improve the exception for default low in Generator.integers | Kevin Sheppard | 2021-03-17 | 2 | -10/+32 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve the exception when low is 0 in case the single input form was used. closes #14333 | |||||
| * | | | | BUG: Use lop1p to improve numerical precision | Kevin Sheppard | 2021-03-17 | 6 | -34/+71 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use log1p(-x) instead of log(1 - x) Seperate legacy version from current closes #17020 | |||||
| * | | | | BUG: np.random: Use log1p to improve precision | Eric Wieser | 2021-03-17 | 1 | -11/+11 | |
| |/ / / | | | | | | | | | | | | | This reduces the number of cases when floating point precision makes the argument to `log` become `0` | |||||
| * | | | DOC: Consistently use rng as variable name for random generators | Tim Hoffmann | 2021-03-15 | 1 | -4/+4 | |
| | | | | ||||||
| * | | | Merge pull request #18439 from WarrenWeckesser/random-choice-exc | Charles Harris | 2021-03-07 | 1 | -4/+6 | |
| |\ \ \ | | | | | | | | | | | MAINT: random: Use 'from exc' when raising a ValueError in choice. | |||||
| | * | | | MAINT: random: use 'from exc' instead of 'from None'; tweak error messages. | Warren Weckesser | 2021-02-19 | 1 | -7/+7 | |
| | | | | | ||||||
| | * | | | MAINT: random: Use 'from None' when raising a ValueError in choice. | Warren Weckesser | 2021-02-18 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use 'from None' when the ValueError is raised when the first argument to `choice` is not an array and not an integer. Also fix the error message for the ValueError, and add a missing space to two other error messages. | |||||
| * | | | | Port error to RandomState | Kevin Sheppard | 2021-02-26 | 3 | -2/+23 | |
| | | | | | ||||||
| * | | | | Address comments | Kevin Sheppard | 2021-02-26 | 1 | -9/+9 | |
| | | | | | ||||||
| * | | | | Accept suggestion | Kevin Sheppard | 2021-02-26 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Use if else. Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | |||||
| * | | | | ENH: Improve error message in multinomial | Kevin Sheppard | 2021-02-26 | 2 | -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 function | Kevin Sheppard | 2021-02-26 | 4 | -20/+82 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid conditional compilation and move old version to legacy_vonmises Small clean up Additional comments | |||||
| * | | | | BUG: Prevent RandomState from changing | Kevin Sheppard | 2021-02-26 | 6 | -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 Pinillos | 2021-02-26 | 3 | -0/+9 | |
| | | | | | | | | | | | | | | | | | | | | large values of kappa (>1e6) | |||||
| * | | | | Fixed style and added check for bounds in [-pi,pi] interval. | Raúl Montón Pinillos | 2021-02-26 | 1 | -6/+17 | |
| | | | | | ||||||
| * | | | | Fixed Von Mises distribution for big values of kappa by falling back to a ↵ | Raúl Montón Pinillos | 2021-02-26 | 1 | -3/+8 | |
| | | | | | | | | | | | | | | | | | | | | normal distribution (which the von mises distribution converges to). | |||||
| * | | | | Merge pull request #18433 from bashtage/randomstate-typing | Matti Picus | 2021-02-24 | 5 | -130/+824 | |
| |\ \ \ \ | | | | | | | | | | | | | ENH: Add typing for RandomState | |||||
| | * | | | | BUG: Remove incorrect variable name | Kevin Sheppard | 2021-02-24 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Remove incorrect variable name in randint | |||||
| | * | | | | CLN: Clean up random typing | Kevin Sheppard | 2021-02-24 | 2 | -22/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean unnecessary definitions Fix small typing errors | |||||
| | * | | | | Use {int_} for int return types | Kevin Sheppard | 2021-02-24 | 1 | -1/+1 | |
| | | | | | | ||||||
| | * | | | | Small fixes | Kevin Sheppard | 2021-02-24 | 3 | -7/+4 | |
| | | | | | | ||||||
| | * | | | | BUG: Fix typing bugs | Kevin Sheppard | 2021-02-24 | 1 | -1/+1 | |
| | | | | | | ||||||
| | * | | | | ENH: Add tests for RandomState | Kevin Sheppard | 2021-02-24 | 1 | -4/+6 | |
| | | | | | | ||||||
| | * | | | | BUG: Corect typing statements in mtrand | Kevin Sheppard | 2021-02-24 | 2 | -27/+64 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring over changes from Generator to RandomState where appropriate Remove attributes not in RandomState |