https://github.com/scipy/scipy

sort by:
Revision Author Date Message Commit Date
972088d DOC/MAINT: add references to Boost (#21469) * DOC/MAINT: add references to Boost 22 September 2024, 05:32:19 UTC
f923ac5 BUG:optimize: Correct mod operations in L-BFGS-B code (#21602) 22 September 2024, 01:05:46 UTC
a63fae9 CI: use gha-update (#21599) 21 September 2024, 22:50:15 UTC
6a7be0e ENH: `special.logsumexp`: improve precision when one element is much bigger than the rest (#21597) 21 September 2024, 15:33:15 UTC
f20fb1d Merge pull request #21595 from vaerksted/main 20 September 2024, 17:52:12 UTC
8593ca8 DOC: building: specify .ps1 for windows example 20 September 2024, 16:56:05 UTC
79d4beb DOC: special.roots_legendre: correct typo in integral change of variable inverse (#21593) DOC: special.roots_legendre: correct typo in integral change of variable inverse 20 September 2024, 15:36:36 UTC
c847569 Merge pull request #20897 from larsoner/doc-fix 20 September 2024, 15:08:08 UTC
bb92a14 BUG: linalg.det: Fix edge case handling of stacked 1x1 arrays (#21588) Closes gh-21582. 19 September 2024, 21:40:44 UTC
84d4bd9 BUG:linalg: Fix single precision expm UV computation (#21587) 19 September 2024, 17:55:34 UTC
446160a Merge pull request #21586 from varehus/main 19 September 2024, 16:40:06 UTC
bd5adad Merge pull request #21585 from vaerksted/main 19 September 2024, 16:36:43 UTC
431dcf3 DOC/MAINT: spatial: fix some typos 19 September 2024, 16:06:57 UTC
2e60285 DOC/MAINT: special: fix some typos 19 September 2024, 15:54:46 UTC
7a50bbf BUG: linalg: fix sqrtm precision preservation for complex input. (#18385) * BUG: linalg: fix sqrtm precision preservation for complex input. --------- Co-authored-by: Matt Haberland <mhaberla@calpoly.edu> 18 September 2024, 18:36:15 UTC
424708e ENH:linalg: Rewrite expm in C (#21553) * MAINT:linalg: Remove Cython expm implementation MAINT:linalg: Adjust mypy.ini for expm changes * ENH:linalg: Rewrite expm in C * ENH:linalg: Rewrite expm in C - header file * MAINT:linalg: Adjust meson file for expm C rewrite * MAINT:linalg:Adjust python call to expm C implementation * MAINT:linalg: Scope declarations in header file for expm * MAINT:linalg: Implement error exits in expm * MAINT:linalg: Add malloc guards and fix a typo in expm C * MAINT:linalg: Improve error handling in expm header file * MAINT:linalg: Switch lacon with lacn2 in expm header * MAINT:linalg: Switch lacon to lacn2 in expm C code * MAINT:linalg: Re-add the pyi file to meson file. [skip circle] [skip cirrus] * TST:linalg: Remove usage of Python randomlib in matfuncs tests 18 September 2024, 14:50:37 UTC
7be13dc DOC/MAINT: stats: fix some typos (#21573) Co-authored-by: musvaage <musvaage@users.noreply.github.com> 17 September 2024, 20:08:24 UTC
7635e03 Merge pull request #21575 from varehus/main 17 September 2024, 20:06:26 UTC
c2bf0e5 DOC/MAINT: doc: fix some typos 17 September 2024, 19:14:45 UTC
4bd5e94 ENH:optimize:Rewrite LBFGSB in C (#21314) ENH: optimize: Rewrite LBFGSB in C 17 September 2024, 13:19:12 UTC
97445cc Merge pull request #21570 from tylerjereddy/treddy_classifiers_3.13 MAINT, BLD: 3.13 to classifiers 17 September 2024, 06:51:34 UTC
337213d MAINT, BLD: 3.13 to classifiers * Update `pyproject.toml` to include Python `3.13` in the `classifiers` metadata. Considering we already ship `3.13` wheels on PyPI built from `pyproject.toml`, I can't imagine there's a good reason to delay adding it now. [ci skip] 17 September 2024, 03:03:46 UTC
5815adb Merge pull request #21473 from ollybritton/performance-improvements ENH: integrate.cubature: array API standard support 16 September 2024, 19:07:14 UTC
feb120a TST: sparse: Finish allowing `test_base.py` to easily switch between testing sparray and spmatrix (#20895) * make minmax-explicit kwarg tests work for sparray or spmatrix * fix tests to work for sparray or spmatrix * revert shifting test from e.g. getrow to _getrow * more fixes to allow sparray to pass test_base * match version dependent error msg * remove test of complex power * avoid asdense when already checking is_array_test * add comment about complex exponents * add test of downcasting 64bit intp to int32 when using np.bincount or reduceat * Testing both sparray/matrix with all but Test64Bit tests * refactor Test64Bit to ease slow mark for either sparray or spmatrix * lint fixes * add review suggestions * change names from _object to _container * Improve Todo comment and clarify test_pow array/matrix test differences * expand comments explaining cases_64bit * update test_resize for merge with main 16 September 2024, 18:07:59 UTC
a9081a4 Merge pull request #21564 from tylerjereddy/treddy_torch_gpu_ndimage_skip 16 September 2024, 17:06:02 UTC
7c7878b ENH: special: computing derivatives by simple autodifferentiation (#21483) * first pass at dual * Working towards assoc_legendre * converting assoc_legendre_p * Updated branch cut definition to work with new derivatives * . * refactored sph_legendre * . * removal of more old tuple code * . * Made sph_harm work with dual * removed custom std::exp * . * made sph_harm use dual<dual<complex>> rather then complex<dual<dual>> * fix for linter * simplifying multidim duals * . * reworking multidims * made dual variadic * . * more refactoring * Removed unboxing multiplication * . * make_dual -> dual_var * refactoring * removed last definitions in std namespace * implemented remaining comparisons, some clean-up * removed binom and factorial functions from dual * slight clean-up of complex in sph_harm_y * removed some std::complex from dual.h * Removed extra trig calls * removed tuple usage from legendre_p * . * converted assoc_legendre_p and sph_legendre_p and their all versions * deleted all of tuples.h * . * . * fixed sph_harm_y p test * removed unneeded resolve_out_shapes and some typedef clean-up * fixed up remaining typedefs * added wrap_autodiff for legendre_p * added trailing newline to _multiufuncs and add wrap_autodiff for sph_legendre_p * fix for linter * removed assoc_legendre_p wrapper * wrapped sph_harm_y * fixing _all function autodiff wrappers * removed unneeded assoc_legendre_p wrapper * removed sph_harm_y wrapper * fix for sph_harm-y * added xsf::numpy::applies for transforms * updated ufuncs as well * added a long long int adapter * . * . * . * . * . * . * . * . * . * . * . * . * more clean-up * . * removed long long ints * . * . --------- Co-authored-by: izaid <hi@irwinzaid.com> 16 September 2024, 16:32:19 UTC
a204b1f TST, MAINT: skip some torch GPU tests * these three test skips fix up 265 test failures in `TestNdimageFilters` test class, when `cuda` backend is used with `torch`. [skip cirrus] [skip circle] 16 September 2024, 15:51:38 UTC
a72b6a2 TST:optimize: Adjust the termination message in LBFGSB [skip ci] 16 September 2024, 15:21:18 UTC
36cf372 TST:optimize:Adjust lbfgsb call signature in tests TST:optimize: Modify tests for LBFGSB rewrite 16 September 2024, 15:20:35 UTC
8c30c14 MAINT:DOC:optimize: L-BFGS-B adjustments to Python code DOC:MAINT:Also removed Fortran mentions MAINT:optimize: Fix LBFGSB termination messages MAINT: optimize: Modify Python file for LBFGSB rewrite 16 September 2024, 15:20:35 UTC
43b3391 ENH:optimize: Add LBFGSB .h file for C rewrite DOC:optimize: Fix LBFGSB docstring MAINT:optimize: Use int array for task and status messages in LBFGSB 16 September 2024, 15:18:44 UTC
24b0522 ENH:optimize: Rewrite L-BFGS-B Fortran code in C DOC:optimize: Added license and docstrings of LBFGSB C code BUG:optimize: Fix segfaults and 1-off errors in LBFGSB code BUG:optimize: Address segfaults in subsm C func 16 September 2024, 15:17:07 UTC
9e93f67 DOC: update Contributor Quickstart guide to refer to the Building From Source Guide (#21477) 15 September 2024, 09:46:31 UTC
1eff03d BUG: `stats.levy_stable`: fix ignored parameterization (#21332) * BUG: fix stats.levy_stable.rvs parameterization ignored bug * TST: add test for stats.levy_stable parameterization * STY: Fix Lint error: add trailing newline * MAINT: stats.levy_stable: adjust approach * Update scipy/stats/_levy_stable/__init__.py --------- Co-authored-by: Matt Haberland <mhaberla@calpoly.edu> 14 September 2024, 18:09:04 UTC
88a1993 MAINT: optimize: Adjust meson file for LBFGSB rewrite 14 September 2024, 16:19:58 UTC
cc90c00 MAINT:optimize: Remove LBFGSB FORTRAN code 14 September 2024, 16:19:58 UTC
ecf3ff0 MAINT: spatial.distance.jaccard: correct numerator calculation (#21176) * Improve jaccard() doc. * Correct numerator calculation in jaccard() function. * Correct numerator calculation of cdist/pdist('jaccard'). * Move Jaccard distance tests together. * Add test case for non-0/1 numeric input to jaccard distance. * Add version changed message about the handling of non-0/1 numeric input. * MAINT: ensure that different branches return the same type. * SYL: fix lint warnings. 12 September 2024, 23:24:06 UTC
03f8aaf TST: signal: convert to `xp_assert_*` infrastructure (pt. 1) (#21512) Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> 12 September 2024, 18:08:45 UTC
8f21cc2 ENH: special: Add root finding tools to xsf and implement gdtrib for GPU while making substantial improvements (#21454) * Add scalar root bracketing and root finding tools to xsf * Add gdtrib to xsf as proof of concept for adding cdflib * Settle gdtrib edge case handling 12 September 2024, 17:36:32 UTC
1139db6 Merge pull request #21197 from anushkasuyal/extend-coo-nd ENH: sparse: extend COO arrays to n-dimensions 12 September 2024, 17:10:45 UTC
e5cae0e Merge pull request #21542 from ollybritton/cubature-doc-updates DOC: integrate.cubature: fix doc formatting and references issues 12 September 2024, 16:05:13 UTC
8e4d71a Merge pull request #21182 from fancidev/chebyshev-distance MAINT: spatial: improve weighted Chebyshev distance doc and zero weight handling 11 September 2024, 22:28:51 UTC
34a2b36 Merge pull request #21545 from mdhaber/up038 11 September 2024, 17:42:50 UTC
0579357 STY: ignore rule UP038 Rule UP038 recommends using isinstance(a | b) instead of isinstance((a, b)). This has caused unexpected lint failures in many CI jobs when files with the older style are modified, whether or not the offending lines are edited. I expect this will continue for some time unless either the rule is ignored or all offending files are fixed at once. This PR proposes ignoring the rule rather than changing the codebase, the rationale being that the new style is not necessarily clearer or otherwise better. [lint only] 11 September 2024, 16:07:28 UTC
3f81d06 ENH: `stats.boxcox_llf`: add GPU support (#21518) * ENH: `stats.boxcox_llf`: add GPU support --------- Co-authored-by: Matt Haberland <mhaberla@calpoly.edu> 11 September 2024, 13:44:46 UTC
5a58e5f DOC: fix formatting and references issues - Add an extra line after `::` to render code blocks correctly - Add references for QUADPACK and Genz-Malik cubature to `cubature` rather than just in rules [docs only] 11 September 2024, 10:00:18 UTC
0d8a240 DOC: add `xp` parameter to rule docstring 11 September 2024, 09:14:05 UTC
ba88b55 TST: add back removed test, style updates - Add back test to check if a 1D problem with a 2D rule raises an appropriate error - Style changes related to line continuation 11 September 2024, 09:04:46 UTC
ba5ef6b ENH: interpolate: add `FloaterHormannInterpolator` (#21497) * ENH: interpolate: add Floater Hormann weights Reviewed at https://github.com/scipy/scipy/pull/21497 Co-authored-by: Pauli Virtanen <pav@iki.fi> 11 September 2024, 06:44:46 UTC
9aa1dba ENH: ndimage: extend filter axes support to remaining filters (`generic_filter`, etc.) (#20811) * add axes support to gradient_magnitude and laplace functions update rank filter axes docstring to match more detailed style of other functions * axes should not be cast using xp.asarray in test case * np.empty_like -> xp.empty_like * use concatenation instead of in-place array modification in test suite for JAX compatibility 11 September 2024, 06:30:14 UTC
46344fe Merge pull request #21539 from ev-br/bspl_lhs_derivatives MAINT: interpolate: move an internal utility from cython to python 10 September 2024, 22:38:38 UTC
4d0e9c7 BUG: optimize.minimize.powell: stop squeezing everything (#21526) 10 September 2024, 21:30:38 UTC
821c906 BUG: special.logsumexp: fix type promotion (#21528) * BUG: special.logsumexp: fix type promotion [skip cirrus] [skip circle] * MAINT: adjust dtype determination logic in xp_broadcast_promote * TST: special.logsumexp: add dtype tests * TST: special.logsumexp: fix tests * MAINT: define mixed-type promotion rule if underlying library doesn't * TST: special.logsumexp: update tests * STY: special.logsumexp: use is_array_api_strict where appropriate [skip ci] --------- Co-authored-by: Matt Haberland <mhaberla@calpoly.edu> 10 September 2024, 17:27:10 UTC
3eb9973 BUG: make each rule use compatible array namespace - Determine the compatible version of the array namespace in each rule 10 September 2024, 17:18:40 UTC
da1ed77 MAINT: delete unnecessary `isinstance`, `_concat` - Removes an unnecessary `isinstance(a, list)` check since by default `array_namespace(a_list)` is `np_compat` - Deletes the function `_concat` which was used to fall back to `np.concatenate` if `np.concat` wasn't available, and instead make sure `np_compat` is being used 10 September 2024, 16:46:18 UTC
80391ec Merge pull request #21508 from lucascolley/fft-real 10 September 2024, 15:29:52 UTC
4cca348 BUG: fft: fix real input to standard funcs [skip cirrus] [skip circle] 10 September 2024, 15:29:17 UTC
65e1add Merge pull request #21536 from ev-br/test_rgi_matrix 10 September 2024, 13:25:22 UTC
2a6f43c MAINT: interpolate: move _lhs_derivatives to python The computational complexity is O(1), so there is no reason for this helper to stay in Cython or move to C++. 10 September 2024, 12:50:05 UTC
64fdcda TST: interpolate: fix a spurious failure with -b all The failing test is testing np.matrix inputs to RGI. This is allowed for backwards compatibility but does not work with xp_assert_* infrastructure. Thus, convert to arrays for assertions. An alternative is to skip the test when running with SCIPY_ARRAY_API env variable (since then we're not bound by backwards compat). But converting to ndarray seems simpler. 10 September 2024, 12:20:04 UTC
63bed81 BUG: use `np`-free versions of utility functions - use a `_concat` helper function to pick whether to use `xp.concat` or `xp.concatenate` - use `xp_test = array_namespace(a)` for using `atan` since `atan` isn't supported in np < 2. - compute subregion coordinates and cartesian products without using `np`-specific code 10 September 2024, 11:00:08 UTC
73fcde2 BUG: better typing, np_compat, address CI failures - Use same style of typing as `_array_api` for `Array` - Use `np_compat` from `_lib.array_api` rather than `_lib.array_api_compat.numpy` - Default to `np.linalg` when `xp.linalg` doesn't exist - Add `xp` argument to test functions rather than calling `array_namespace` every time - Skip testing `array_like` inputs when the backend is not numpy - Change how `FixedRule`, `NestedRule` and `NestedFixedRule` determine the array namespace 10 September 2024, 10:59:25 UTC
4dbb185 BUG: address array api compatibility problems - Use `scipy._lib.array_api_compat.numpy` rather than `numpy` as a default when no array specified - Remove use of in-place item assignment in `_cartesian_product` - Remove use of `xp.newaxis` since Torch doesn't support this - Switch to using positional arguments for `xp.linspace` since Torch uses different keywords - Modify slow tests 10 September 2024, 10:58:05 UTC
999568b BUG: remove unnecessary `asarray` in Genz-Malik Removes an extra `xp.asarray` inside `xp.concat` which was causing errors due to setting an array with a sequence. 10 September 2024, 10:57:12 UTC
0eee12b TST: add tests to array_api workflow 10 September 2024, 10:57:12 UTC
3757527 BUG: don't use `arr.size` or `expand_dims` 10 September 2024, 10:57:10 UTC
c2c8c0e ENH: pass tests with array_api_strict 10 September 2024, 10:54:00 UTC
3b96a58 ENH: preliminary support for array api in cubature 10 September 2024, 10:51:52 UTC
8cfd394 Merge pull request #19970 from ev-br/splrep_repro ENH: interpolate: replicate `splrep` and `splprep` in Python 10 September 2024, 10:35:25 UTC
654478d Merge pull request #21330 from ollybritton/adaptive-cubature ENH: integrate: multidimensional integration of array-valued functions 10 September 2024, 09:54:38 UTC
4dff27e MAINT: special.ndtr: adjust implementation to more closely match original CEPHES code (#20695) * Update ndtr.h - fixing error See the original version from cephes * Update ndtr.h - flagging loss of precision Flagging loss of precision : 1 - 1e-30 != 1 * Update ndtr.h indentation indentation change * Update ndtr.h indentation indentation * Update test_ndtr.py assert if warning raised when loss of precision Should raise warning when loss of precision for normal cdf (in which case the survival function should be used) * Update scipy/special/tests/test_ndtr.py preferred style preferred style Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * Update scipy/special/tests/test_ndtr.py Unnecessary import Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> * Update test_ndtr.py Comment on why warning Comment on why it should raise a warning * Update test_ndtr.py import pytest Import pytest * Update test_ndtr.py adding context for error handling adding context for error handling * Apply suggestions from code review [skip ci] --------- Co-authored-by: Lucas Colley <lucas.colley8@gmail.com> Co-authored-by: Matt Haberland <mhaberla@calpoly.edu> 09 September 2024, 13:38:31 UTC
bc596ac DOC: add further explanation to `CubatureResult` 09 September 2024, 12:56:52 UTC
5dd524f MAINT: remove unused `NestedRule` and `ProductNested` 09 September 2024, 12:56:27 UTC
4da2b3c API: remove Newton-Cotes as `cubature` option 09 September 2024, 12:32:33 UTC
47bc9b6 Merge pull request #21525 from Armavica/principal MAINT: stats: Fix typos principle -> principal 09 September 2024, 04:22:58 UTC
52540b0 MAINT: stats: Fix typos principle -> principal [skip ci] 09 September 2024, 04:04:08 UTC
3226c32 DEV: `pytorch` -> `torch` (#21517) 08 September 2024, 17:18:49 UTC
11aeb7e DOC: signal.freqz: fix example (#21514) 08 September 2024, 16:58:38 UTC
02a3826 TST: interpolate: adapt tests to xp_assert_* infra 08 September 2024, 14:25:12 UTC
5d0646e MAINT: interpolate: work around MSVC quirks: 1) ssize_t; 2) std::to_string 08 September 2024, 13:15:12 UTC
072afe6 BLD: interpolate: adapt to LAPACK linking from C++ 08 September 2024, 13:15:12 UTC
fa66489 DOC: interpolate: fix smoke-docs + versionadded 08 September 2024, 13:15:12 UTC
61f3c24 MAINT: interpolate: toggle boundschecking once 08 September 2024, 13:15:12 UTC
2239797 MAINT: try appeasing MyPy and the linter 08 September 2024, 13:15:12 UTC
4f25fa2 ENH: interpolate: add make_{splrep,splprep}, gen_knots FITPACK clones without FITPACK 08 September 2024, 13:15:12 UTC
c6af309 ENH: interpolate: add a QR solver to make_lsq_spline 08 September 2024, 13:15:12 UTC
0c9ce85 ENH: interpolate: move bspline/fitpack helpers to a cpp library, add wrappers 08 September 2024, 13:12:14 UTC
130da34 TST: special._smirnovp: remove test xfail after translation to C++ (#21520) * TST: special._smirnovp: remove test xfail after translation to C++ * STY: special: remove unused modules [lint only] 08 September 2024, 10:59:49 UTC
e463b8d Merge pull request #21522 from nickodell/njo-document-scalar-fun DOC: optimize: Document that `OptimizeResult.fun` is scalar 08 September 2024, 07:21:41 UTC
4ed9247 DOC: Document that OptimizeResult.fun is scalar [docs only] 08 September 2024, 05:38:27 UTC
a839c33 Merge pull request #21149 from lucascolley/xp_logsumexp undefined 07 September 2024, 18:23:28 UTC
d6e1dfa Merge pull request #21516 from lucascolley/torch-test TST: remove redundant torch skips 07 September 2024, 17:52:37 UTC
d49c8af TST: remove redundant torch skips [skip cirrus] [skip circle] 07 September 2024, 15:54:00 UTC
1f25a97 CI: unpin torch in array API job [skip cirrus] [skip circle] 07 September 2024, 15:51:31 UTC
cfc3d9d MAINT: remove `logsumexp` shim in `tanhsinh` [skip cirrus] [skip circle] 07 September 2024, 15:51:31 UTC
e4e8e40 TST: special.logsumexp: test alternative backends [skip cirrus] [skip circle] Co-authored-by: Matt Haberland <mdhaber@mit.edu> 07 September 2024, 15:51:27 UTC
9a3743f ENH: special.logsumexp: add array API standard support Co-authored-by: Matt Haberland <mdhaber@mit.edu> 07 September 2024, 14:46:21 UTC
0683afb MAINT: `_lib`: reject sparse arrays/matrices in `compliance_scipy` so that we can replace uses of `_asarray_validated` 07 September 2024, 14:46:21 UTC
981f7c3 MAINT: `_lib`: add `xp_broadcast_promote` utility Co-authored-by: Matt Haberland <mdhaber@mit.edu> 07 September 2024, 14:46:21 UTC
8457f42 Merge pull request #21515 from mdhaber/gh21513 07 September 2024, 14:19:36 UTC
back to top