-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stats.truncnorm.rvs 100x slower in v1.4.x than v1.3.3 #11299
Comments
Probably due to gh-10104. @pvanmulbregt is this expected? |
The new version uses np.vectorize and looses standard vectorization AFAICS It might be better to split the distribution into the standard usecase version (that prefers speed over good tail behavior) and a slow tail usecase version if the slowdown is widespread across methods. |
Apologies if this question should be obvious from the code-base, but are there currently any unit tests that check the speed of random sampling? I was a little incredulous at first when a colleague brought this issue to my attention because a 100x slowdown is pretty substantial. |
I'm not aware of any unit tests that test for speed. Scipy does have an airspeedvelocity framework that is run on a semi regular basis, see https://pv.github.io/scipy-bench/, but it's not comprehensive by any means. A test for any speed regression could be put in there, but I'm not sure what the formality is for noticing that there are negative changes. This issue is certainly critical for those who want to do calculations with large amounts of random numbers. |
IIRC the issue was that |
For my specific user case I'm interested in large numbers of random variates from truncnorm with tails chopped off, i.e. tail behaviour isn't important. Thus, a two state behaviour, as suggested by @josef-pkt, would be useful. |
Some comments: In the case above, for Freezing the distribution doesn't help either as that doesn't allow for the precomputation of the tail probabilities, it merely remembers the |
To be a bit more explicit on the need for the np.vectorize:
and is expected to return a (5, 2) array such as
That would enable computing the tail probabilities just once for each instance of distribution shape values. |
Addresses scipygh-11299. Adds an rvs() method to truncnorm modelled on geninvgauss_gen.rvs(). Replaced np.vectorize'd truncnorm functions with _scalar versions. Any broadcasting is handling inside the distributions methods. This enables generating many ppf values for the same shape a.b parameters in a single call, thus making the truncnorm delta overhead calculation just once.
Addresses scipygh-11299. Adds an rvs() method to truncnorm modelled on geninvgauss_gen.rvs(). Replaced np.vectorize'd truncnorm functions with _scalar versions. Any broadcasting is handling inside the distributions methods. This enables generating many ppf values for the same shape a.b parameters in a single call, thus making the truncnorm delta overhead calculation just once.
c75870233 Merge pull request #39 from ERGO-Code/master eeb55961f Use HiGHS utilities to validate options and provide helpful feedback b117d9133 Merge pull request #353 from ERGO-Code/tidyHVector 22f70a7bc Remove stray logging statement f2a68e60a Merge pull request #38 from mckib2/option-validation 5346f882e Use OptimizeWarning for options ae58f8867 Merge pull request #37 from mckib2/option-validation 902124b80 Add error checking for option values ee130abf7 Make const definitions implicit f171e1a62 Merged master into this branch and formatted 7b29520b5 Merge branch 'master' into tidyHVector b4d561322 Now initialising .packFlag, .syntheticTick and .next in HVector::setup(), and removed commented-out code relating pseudoTick/fakeTick d0fe9ef5f Merge branch 'linprog_highs' into linprog_highs2 a527fdc17 Merge pull request #352 from ERGO-Code/BetterTopLevelPresolveAndLpSolveTiming 6f855d25e Cast stats.loops.size() to int in assert and restored newline at EOF 85fdb189f Revert "Revert "ENH: optimize: add HiGHS methods to linprog"" 3d60d76dc Merge pull request #12032 from scipy/revert-11759-linprog_highs 79e2e292e Revert "ENH: optimize: add HiGHS methods to linprog" 4733a1c68 Merge pull request #11759 from mdhaber/linprog_highs 29f141e4f Merge pull request #14 from mckib2/constants-and-default-vals abb010ee0 DOC: add Examples and fix pep warning for fft.set_global_backend and fft.register_backend (#11996) ba70c8d2c Merge pull request #12028 from lpsinger/spelling 80697566b Spelling correction 23fba5d0c Merge branch 'master' into BetterTopLevelPresolveAndLpSolveTiming a03336a93 Add note about PRIMAL simplex solver being a WIP 09915241c Added better top-level presolve and LP solve timing for Perl script to parse 912c54cd6 Merge pull request #12024 from AtsushiSakai/issue_7168_7 f43f9a01c comment out mpswriter 6f432a68a Add notes about how ipm interprets some tolerances 34e5f2e85 DOC: add Examples for io.hb_read() and io.hb_write() 77533ecfd Remove cimport d62de1f70 Add default values and human readable message levels. 91072cca7 Merge commit '5de3c1b680dcd1e18ad255bd7aa9e1e70c005fda' into constants-and-default-vals 5de3c1b68 Squashed 'scipy/optimize/_highs/' changes from e5044ee09..aa767e057 5b56e0167 Merge commit '70af3394d0fa96f98e5bdeb0346055c36607c855' into constants-and-default-vals 70af3394d Squashed 'scipy/optimize/_highs/' changes from b5d3bc711..e5044ee09 649e90cc7 DOC: optimize: document default value of absolute_sigma in curve_fit (#12022) 6326f4d27 Merge pull request #12013 from rgommers/remove-dual 47d6700e9 BUG: Reshape oaconvolve output even when no axes convolved (#11974) a73811737 Merge pull request #11979 from AtsushiSakai/issue_7168_2 f7173d126 Merge pull request #12009 from pv/ilp64-lbfgsb b44883d71 Merge pull request #12010 from pv/ilp64-isolve a860d11eb Merge pull request #11986 from grlee77/ndimage_memory_overlap_errors 58e7f8588 remove unecessary temporary array creation for correlate1d 181075ded TST: add ndimage tests with output array overlapping with the input 32ee7989a prevent bugs due to overlap of input and output arrays cc26921cc MAINT: remove last uses of numpy.dual 5984124bf MAINT: optimize: updates per @AtsushiSakai review in gh-11759 fe0b82bcf Merge pull request #13 from mckib2/remove-slack-tests 4d210e67d ENH: sparse.linalg: support 64-bit BLAS in isolve da3936b23 ENH: optimize: support 64-bit BLAS in lbfgsb 83b7d2ad3 BLD: _build_utils: add function for combining numpy config dicts 1d6a0b675 Merge pull request #11938 from pv/cython-api-deprecate-util a67177d1b DOC: integrate: add examples for quad_vec() and quad_explain() (#12004) 9ec867208 Merge pull request #11961 from sethtroisi/superlu 4301df473 Merge pull request #12007 from rgommers/pybind-license 158c19e77 MAINT: add pybind11 license info to LICENSES_bundled.txt ab199f36c MAINT: remove `six` from LICENSES_bundled.txt - we no longer vendor it 6f80b4faf Remove highs slack tests 101da5cf2 Merge pull request #11 from mckib2/non-ascii-decoding-fix 96c252029 Squashed 'scipy/optimize/_highs/' changes from f3395c62e..b5d3bc711 39208ff28 Merge commit '96c252029704fbb79753d00eaf959e86054424e0' into non-ascii-decoding-fix 2ba739d33 Merge pull request #11495 from andyfaff/slsqp 9cee79f04 Fix KMeans++ initialisation slowness (#11982) fa612823f Merge pull request #11960 from sethtroisi/version_3 567892ee3 CI: Add arm64 in travis-ci (#11867) 8b58ac0e9 Merge pull request #11998 from mckib2/asv-build-from-head b887d9e08 BUG: sparse: 'diagonal' of sparse matrices fixed to match numpy's diagonal behaviour (#11970) 30d0f1236 Merge pull request #10 from mckib2/upstream-2020-04-27 6731c8f21 Squashed 'scipy/optimize/_highs/' changes from ed126b76d..f3395c62e 1f7b706ab Merge commit '6731c8f21482f9b6dbc151673069ece89f7dcc62' into upstream-2020-04-27 2064a19e2 Squashed 'scipy/optimize/_highs/' changes from 57f9aa928..ed126b76d 4cd32c21d Merge commit '2064a19e26fe120324b8546008f214506df22add' into upstream-2020-04-27 2f298c0d4 BENCH: run against current HEAD instead of master 787efe4d2 Merge pull request #11997 from tylerjereddy/azure_env_var_openblas f473c75f1 MAINT, CI: Azure OpenBLAS simplify 7e5760950 Add missing message_level option; update solver docs 3d01bed28 Add documentation and support for undocumented advanced options 32b611378 Add documentation for ML_ALWAYS messaging level 107d1ee3e Merge pull request #11995 from tylerjereddy/treddy_azure_simplify_mingw64 8c7d5d071 MAINT, CI: remove custom mingw Azure fb728f735 Merge pull request #11993 from tylerjereddy/treddy_dbg_win_openblas 5690f9cb0 TST, CI: Azure Windows path fixups cee1e3ea4 Merge pull request #11983 from AtsushiSakai/issu_7168_3 ef7b0166b fix doctest f587e0884 DOC: add Examples for stats.mstats.argstoarray() docstring. 0cae03b55 Merge pull request #11976 from andyfaff/logo a5809561e DOC: add Examples for stats.ranksums() docstring. 740a82ec2 MAINT: add logo for github actions 0ac8568fa Split slack/con variables up d3376979f Merge pull request #11934 from tylerjereddy/mailmap_update_april_2020 48bce0fcd DOC: Remove misleading default values from fit method (#11897) 133cb361c MAINT: Cleanup Python2 compatability code f0e54ac8e Merge pull request #11962 from sjmielke/patch-1 134270be9 Merge pull request #11964 from sethtroisi/pypy 32812c2fe Merge pull request #11958 from WarrenWeckesser/remove-trailing-spaces c6aeba2ed Squashed 'scipy/optimize/_highs/' changes from 46edda35a..57f9aa928 6840ce868 Merge commit 'c6aeba2edd973669d8d027470a2e84f28f9e5073' into upstream-2020-04-27 94ed8ce18 Remove print statements 23e9bbdcb Change order of model status enums and export enums to make consistency automatic; found upstream bug in simplex solver 97abd2230 MAINT: Cleanup unused IS_PYPY 5b0bd22b3 DOC: Fix type of `codes` in docstring of `_vq._vq()` 42448ce33 MAINT: Remove numpy/npy_3kcompat.h from _superluobject.c 4391e4dba MAINT: Retab scipy/sparse/linalg/dsolve/_superluobject.c 8d91c76e0 Merge pull request #11957 from WarrenWeckesser/use-errstate a430bb1af MAINT: interpolate: Remove some trailing spaces. 0488281d0 MAINT: Use np.errstate context manager instead of np.seterr. 16e2f3472 Merge pull request #11950 from ilayn/test_heequb 1f0937393 TST:MAINT: separated and stabilized heequb tests fe625f213 ENH: expose "window_size" parameter in find_peaks_cwt() (#11919) 30678e8d4 Merge pull request #11760 from sethtroisi/py3k_part3 051931767 Check primal feasibility to know if solution exists 077c844f2 Respond to Kai-Striega's comment about finding inf values ab9b8bce1 Merge commit 'ad4d9fd82ec693b054392a93125497c9e293c368' into upstream-2020-04-27 ad4d9fd82 Squashed 'scipy/optimize/_highs/' changes from 21d9a9cc0..46edda35a 2fa34a4d6 Merge pull request #11302 from pv/blas-ilp64-initial 32c89ab96 Merge pull request #11946 from person142/py-typed c04e6c986 Merge pull request #11761 from sethtroisi/py3k_part4 7bb407cf8 MAINT: Remove FileStream replaced by GenericStream 893353702 MAINT: Replace npy_3kcompat.h shims 5c5e1351c Merge pull request #11952 from rgommers/toolchain-doc c41df9975 DOC: update toolchain roadmap for py38, C99, C++11/14 cd56e79bf BENCH: update minimum Cython version to 0.29.14 169e44519 Merge pull request #11750 from tylerjereddy/begin_stubs_sph_vor 3e5b4521b MAINT: type hints for `_spherical_voronoi` feb3f6830 MAINT: add py.typed marker dc70c68d4 Merge pull request #11943 from person142/sf-error 3cd91b323 Merge pull request #11160 from nschloe/reveal-unvalid-product 0c5912b8d DOC: dev: add information how to deprecate public Cython APIs a3f70cca9 MAINT: PR 11934 revisions 377e97bdc Merge pull request #11942 from person142/util-ignore-redef c090985f9 BLD: obtain lapack/blas symbol list from Cython interface e4752ea6d DOC: document build-time options 2e06b61c2 CI: add ilp64 openblas build to azure b5753aa5d CI: add ilp64 openblas build in travis 711b84e89 MAINT: special: add types for geterr/seterr/errstate 9f6d65cf2 MAINT: ignore conditional import in _lib/_util 517850bb4 Merge pull request #11936 from person142/roots-types fdd430515 MAINT: ignore ``inf*0`` RuntimeWarning in basinhopping 1777a3e83 Merge pull request #11380 from pv/bicg-qmr-fix-x0 93ef49611 MAINT: refactor slsqp 7e59317a8 Merge pull request #11582 from felixhekhorn/fix-quadpack-comparison 4c8e6930c TST, MAINT: TestCtypesQuad skip with pytest (#11614) d75c01de2 MAINT: enable type-checking untyped definitions in `test_orthogonal.py` e4cfcbf4b MAINT: rng_integers allows RandomState.randint or Generator.integers (#11680) 0a25daf47 ENH: add input validations and its tests for FITPACK in fitpack2.py (#11736) 3284c95cd DOC: refine doc for spatial.distance.squareform (#11914) 8ac8b3a55 DOC: add Examples for scipy.optimize.bracket() docstring (#11924) dfd9204c5 MAINT: _lib: add helper function for deprecating Cython API functions 5bb917770 Merge pull request #11792 from pv/doc-public-cython-api 034d6bba7 BUG: linalg: test_heequb failure (#11902) 8ec2e9e62 DOC: Add docstring examples to fft2, ifft2, io.savemat (#11937) 48cc2f7f2 Merge pull request #11930 from AtsushiSakai/issue_7168_11 7df0d1c09 Merge pull request #11907 from ADmitri42/fix_issue_9710 0e411a154 Merge pull request #11871 from person142/ufunc-not-any dc01ddada Merge pull request #11879 from ruslanye/kron-fix f5a2abdb6 Merge pull request #11889 from WarrenWeckesser/lsim-examples 6d0724aa2 Merge pull request #11935 from Eight1911/fix-mode-documentation 1a185d6e7 fix scipy.stats.mode documentation 828bbc623 Merge pull request #11933 from jjerphan/docstringref_yao ea9d65c45 ENH: special: add type stubs for `orthogonal.py` 5a3600a46 PEP8: line lengths 6cb858eeb DOC, MAINT: mailmap update a168cd2d0 DOC: Add original reference for Yao-Liu objective functions dc0167053 DOC: interpolate: add Examples to scipy.interpolate.interpn docstring (#11808) a7458781e DOC: sparse.linalg: add Examples for sparse.linalg.bicg (#11931) 93214f36f Merge pull request #11912 from Carreau/color-dendrogram 77a914bbd DOC: add Examples and clean up for signal.qspline1d and signal.qspline1d_eval 437784431 Merge pull request #11904 from grlee77/r2r_complex_fix 4b3eac2db Merge pull request #11920 from andyfaff/dedoc 4910b50e8 DOC: explain M, diffev 663f70d5b Merge pull request #11923 from andyfaff/swig 84162e3dc CI: macOS install swig 027de2edb Merge pull request #10759 from pmla/spherical-voronoi-areas a7c5402ec Update test to reflect the new colors 6b198df6c ENH: Ndim linear operator (#11915) 0cae6c06d ENH: stats: clarified fix of the bug that caused SEGFAULT in issue 9719 cdb65b466 ENH: Respect matplotlib color palette with hierarchy/dendrogram. 88b9e702d DOC: stats: fix error caused by trapz docstring (#11906) 6e6633102 BUG: stats: fixed issue 9710 _toint64 caused SEGFAULT when stats.weightedtau were used with arrays of different types with len == 1. Fixed by assigning value -1 to variable i before last for as evgenyzhurko suggested. 363ec4e97 DOC: stats: Add Examples for bartlett, fligner, levene. (#11880) 79531322e MAINT: LinearVectorFunction.J is ndarray closes #11886 (#11898) 592f8c6c8 TST: add tests of R2R transforms involving overwrite_x 81697624f BUG: avoid error in R2R FFTs of complex inputs when overwrite_x=True 28ef03ebf scipy.stats.trapz: split moments and entropy tests into their own function 26962e3f6 scipy.stats.trapz: correct author names mentioned in code comments bbfb637ea scipy.stats.trapz: use full formula for comparing test cases against wikipedia rather than simplifications 2b85d8288 scipy.stats.trapz: clean up code comments f57130535 scipy.stats.trapz: clean up comments; use 'where' rather than '_lazyselect' for inf mean test d20965a77 scipy.stats.trapz: Add citation for the moments calculation. 1b2be4dde scipy.stats.trapz: PEP8 reformatting of more equations 3d20d415f scipy.stats.trapz: PEP8 reformatting of equations af138a003 scipy.stats.trapz: Use analytic formulas for stats and entropy. Refs #11795. ab362532b Merge pull request #11872 from matthias-k/bugfix-multiple-function-evaluations cf27c21bd Merge pull request #11664 from swallan/lapack_support_gejsv a21b21d20 BUG: avoid recomputing in scipy.optimize.optimize.MemoizeJac adce65a80 DOC: add a tutorial of scipy.optimize.linprog (#11847) 8ab8a383c Merge pull request #9525 from kevinrichardgreen/superlu-natural-perm d76efe652 Update scipy/sparse/linalg/dsolve/linsolve.py 4e2a0b197 Update scipy/sparse/linalg/dsolve/linsolve.py c5afd4611 Merge pull request #11393 from pvanmulbregt/truncnormscalar 0a0c81045 TST: linalg: refactor test_heequb to improve failure message 1987ae4cb TST:MAINT: Modified gejsv wrapper and tests for edge cases caee40297 DOC: add Returns and Examples for scipy.ndimage.correlate() docstring (#11883) eab32d567 DOC: signal: Unify lsim and lsim2 examples. 1fb8fcd07 Merge pull request #11639 from ev-br/interp1d_all_nans 83e5dea4a ENH: speed up geninvgauss by using cython (#11849) 5d6266547 Fix sparse.kron 9a478e373 ENH: signal: Add domain option for resample. (#11776) a49499b23 ENH: add input validation for dendrogram and a test. (#11753) abf4445ca Remove missing documentation stubs 2be6a1ef1 Test index arrays overflow in sparse.kron 613a163ff Fix sparse.kron 322601975 ENH: Add (i)workout arrays and remove c,z flavor bf0189f74 DOC: interpolate: add Examples of docstring for scipy.interpolate.approximate_taylor_polynomial (#11874) 38ad92399 Merge pull request #11882 from AtsushiSakai/issue_7168_8 5b45e2f5b MAINT: normalise numpy-->np in optimize.py (#11881) a1625bbaf Merge branch 'master' of https://github.com/scipy/scipy into lapack_support_gejsv 06913e4ea ENH: Remove redundancy test for gejsv 83b395a9d DOC: add Examples for scipy.io.readsav docstring. 2aa31fad4 Merge pull request #7 from mckib2/embed-highs 27b4a183e Merge pull request #11878 from distroinfinity/my-new-feature 25521e5b1 Add mpswriter; clean up setup.py 68879af0d Add all static library dependencies to cython wrappers f879a5135 conflic resolution 762c5e54c Squashed 'scipy/optimize/_highs/' changes from 73c0126cf..21d9a9cc0 9da218106 Investigate primal/dual_status 4ceec2169 Fix index arrays overflow in sparse.kron 66601c8ea DOC: fixed a typo under scipy/integrate/quadrature.py 1a1837607 PEP8: optimize: fixed linprog_highs PEP8 issue 8c5ee5e9c ENH: ?gejsv: use lda for a dimension d0a431ac4 DOC: optimize: add Examples in scipy.optimize.fsolve docstring (#11837) f7cde3988 Merge pull request #11873 from WarrenWeckesser/impulse-doc-typo eef4e9b60 DOC: signal: Fix ODE in impulse and impulse2 docstrings. 1664004e9 DOC: optimize: adjust linprog-highs option documentation rendering d07a1e1c3 MAINT: optimize: fix docstring errors? 83af82e96 ENH: Fix lwork lower bounds 841cde776 MAINT: optimize: added HiGHS options, fixed PEP8 and docstring e9ec381d9 Merge pull request #11677 from mdhaber/lapack_support_ptsvx 41d57cd3f ENH: type ufuncs in special as ufuncs instead of Any a258eb717 Merge pull request #6 from mckib2/embed-highs 5a76e0500 Merge branch 'linprog_highs' into embed-highs 8dc376564 MAINT: optimize: fix linprog iteration limit bugs, HiGHS documentation and status codes 755b9b2cb Merge pull request #11870 from WarrenWeckesser/fix-impulse-example 8b2db8a17 Iteration limit for ipm; remove solution file 355ab7d9c Remove debug statements; use logger; always return iteration count; quit on iteration timout; 882a91146 Merge pull request #11869 from WarrenWeckesser/lsim2-example 4acec6897 Merge pull request #11866 from person142/ignore-sympy-matplotlib 4aaee58be DOC: signal: Use impulse instead of impulse2 in the impulse example :) d490fc527 DOC: signal: Add an example to the lsim2 docstring. f8e44645d Merge pull request #5 from mckib2/embed-highs f35ebab05 ENH: sparse.linalg/arpack: support 64-bit ARPACK with ILP64 BLAS 2a43fff0f BLD: add BLAS ILP64 patching + int64 f2py + build_clib hooks 9340d8be8 MAINT: Simplify floats in constants.py (#11843) f88a92f28 Ignore Lagrangian multiplers in linprog 1927a0ef9 MAINT: add type ignores to sympy and matplotlib imports 308d2a394 Squashed 'scipy/optimize/_highs/' changes from 189d6572b..73c0126cf 2f3497b1a Merge commit '308d2a3940a299d0f417bb8293b98df698c49bc6' into embed-highs 11a90363b Grab slack and lagrange multipliers ad7b735c2 Return slack and lagrange multipliers. 1995688ac Merge pull request #11863 from isuruf/g77_abi_lapack fd0d42ca1 Make g77 ABI wrapper work with gfortran ABI lapack 4774d47f3 Merge pull request #11861 from szcf-weiya/patch-2 64a431b46 order = degree + 1 3983a1193 TST: ?ptsvx: Raise Exception for too small ldb 6ba9f21ef ENH: Fix /work dimensions for complex ?ptsvx c30e85636 MAINT: linalg: minor ptsvx fixes per reviewer comments f2e43c860 TST: linalg: clean up ?ptsvx tests per previous reviewer comments 073ee7d7f MAINT: linalg: fixed errors in ?ptsvx wrapper/test 9f3edab04 ENH: ?ptsvx: minor style fixes f3a9dfdaa TST: Refine info != 0 check and comments 01af6dbc3 TST: Breakup megatest ec37f86f6 TST: ?ptsvx test enhance This commit updates formatting of test for better readability and fixes some errors after seeing issues from gtsvx. 6992f9a46 TST: Add comments and fix name typos This commit clarifies comments and names used in the test, in addition to changing when parameters d and e are passed into the routine. 9752c9999 TST: ?ptsvx add parametrized NAG examples and and fact tests 5150c0d39 TST: add initial tests for ?ptsvx This commit adds tests for lapack ?ptsvx; The test solves a random tridiagonal SPD matrix, comparing the solution to a known x. It also assures input parameter fact "N" and "F" with pttrf. b249da195 DOC: signal: Change parameter fc of gausspulse to float. (#11857) a0746c90a Merge pull request #11797 from WarrenWeckesser/axis-validation 9092027b1 Merge pull request #11668 from mdhaber/lapack_support_gtsvx c102dc8bc ENH: add analytic formula for normal moments (#11627) eccb1bb34 Merge pull request #11852 from andyfaff/travis 7c82a105a Merge pull request #11822 from andyfaff/mactions e93e0d29f CI: remove osx from travisCI 8cb06fcf3 DOC: sparse.linalg: clarify lsqr docstring (#11703) fb0cd7766 Merge pull request #11588 from anntzer/lsmqr-messages f6d8ce6ff Merge pull request #11740 from person142/f2py-specfun 035624f51 DOC: sparse.linalg: add examples in minres docstring (#11838) 5b02bfeba MAINT: re-introduce multiprocessing tests on Python3.8 (#11836) 2e283c011 MAINT: TST: Cleanup of wrappers and test refactoring 78ee73123 Merge pull request #11729 from mdhaber/infeasible_benchmarks 2190a7427 Merge pull request #11842 from pv/gfortran10-build 29ee35ff4 Remove hardcoded c++11 compiler flags 4198e1e34 Remove hard coded compiler optimization flags e76c42b19 Squashed 'scipy/optimize/_highs/' changes from 075b95922..189d6572b a1c9dcd98 Merge commit 'e76c42b1908fa3d1df74884ff6a148fc25e60755' into embed-highs aa56a257a Remove std::make_unique to make c++11 compliant ed72c9915 THANKS.txt update ac061394a MAINT, DOC: minor changes of ratio-of-uniforms in scipy.stats (#11801) 720498ecf BLD: disable distutils -j parallelization a5641f955 Merge pull request #11831 from AtsushiSakai/issue_7168_4 13085782c ENH: Add wrapper for ?pteqr (#11665) 3480d0bd3 Merge pull request #4 from mckib2/embed-highs e305e2392 Remove example scripts folder de452bc62 Remove defunct test 69d0325da Merge pull request #3 from mckib2/embed-highs a318db1e2 Fix optimizations typo for windows 8b5f05609 Add compiler optimizations for gcc/msvc de68d9440 Ignore cython generated files for HiGHS integration a15ff5a21 Squashed 'scipy/optimize/_highs/' changes from fbdda9438..075b95922 2081e9166 Merge commit 'a15ff5a21d283f4dde76e0d4b89f1eeb67ead77a' into embed-highs 6340b78f9 Merge commit 'dc7fece0a7822e2e60c5714bd400c73512b8b2ff' into embed-highs dc7fece0a Squashed 'scipy/optimize/_highs/' changes from b89f825df..fbdda9438 fef17e48f Merge pull request #11645 from WarrenWeckesser/fix-unused c0a57c7be MAINT: _build_utils: Remove unused imports from _fortran.py ccb891aa9 MAINT: signal: Remove some trailing whitespace in wavelets.py. 2d575806e MAINT: signal: A bit of PEP 8 clean up and a couple docstring tweaks in signaltools.py. 69eeda129 MAINT: special: A bit of clean up. 3e3349e25 MAINT: Remove some unused imports. 9978bd6cd fix docstring based on code review. eb3717130 CI: add github actions 5b256648e Merge pull request #11840 from pv/expm-overflow 2f6f9d309 BUG: sparse.linalg: fix overflow in expm intermediate computation 175d54ffb Merge branch 'mdhaber-linprog_highs' into embed-highs 5b80c9c00 Merge branch 'linprog_highs' of https://github.com/mdhaber/scipy into mdhaber-linprog_highs 6640568b6 Remove unneed directories and files 0af9b1b7a Remove gitignore 1a09a72d1 Ignore unneeded files from HiGHS subtree 96ef0a840 Merge pull request #11832 from WarrenWeckesser/rankdata-docstring 7f8dd50a8 BLD: fix build with gfortran 10 04211d6b7 MAINT: allow build_clib pre-build hooks, and enable multiple hooks 0a782da3b Merge pull request #11833 from isuruf/patch-2 537aa4e76 DOC: stats: Fix underline of 'Warns' in f_oneway docstring. f61685955 PEP8: optimize: linprog HiGHS PEP8 fixes 5573f6683 Squashed 'scipy/optimize/_highs/' changes from 8e649f10f..b89f825df 4fb2030a5 Merge commit '5573f668347cb98bb70aa82e8d58475b1f90631c' into embed-highs e3b6148ee Fix for VS 2014 scoped enum bug 0e988110a Remove old examples, tests fd3f8b55e Merge pull request #2 from mckib2/embed-highs ea05b4c4d TST: Always use fork for multiprocessing in fft tests (#11830) 1f7f7d0d5 Fix compiler_name when there are paths used in flags 873b2154a DOC: stats: Fix whitespace to make rankdata example PEP 8 compliant. 8cba6cbbf add wikipedia reference. 1de3cd6ab DOC: add Examples and Returns in scipy.misc.central_diff_weights. 8727fbeba DOC: add Example in the scipy.optimize.leastsq docstring (#11817) d342d54b7 MAINT: PEP8 fixes bb32270e7 Merge pull request #11786 from mdhaber/rankdata_axis 1f873512f MAINT: bump pyflakes to version 2.1.1 (#11813) 1225e11e9 ENH: Convert job? args from chars to ints 0d96b413b Fix -std=c++14 typo; add cython generated sources to version control 11cbe6d67 Merge commit 'f5c93166a612d3bb93694ef9c6dfeabc9d347225' into embed-highs f5c93166a Squashed 'scipy/optimize/_highs/' changes from 488ee63e6..8e649f10f ec1bad215 Add HiGHS submode fe97a4c1a Use imports from git subtree highs module; add iteration limit reached status code 78614d022 Build fixes for scipy integration b88e4dd33 Setup for scipy 394130b58 MAINT: optimize: linprog_highs default presolve=True, iteration limit reached status 26391e442 Squashed 'scipy/optimize/_highs/' content from commit 488ee63e6 c09055fbe Merge commit '26391e44246e2cfbb9f1fc8960b9fe721161b409' as 'scipy/optimize/_highs' ccd2362de Merge pull request #11820 from ruslanye/lbfgsb-bounds 10eec9a76 PEP8: alignment f5229f382 more concise code c275b8c20 Fixed single hemisphere geodesic input. Added test for ultra-close generators. 4f806beb1 ConvexHull object is not stored as an attribute f016ed6df bumped versionadded to 1.5.0 for calculate_areas 4c6ec992c ENH: calculation of region areas in spatial.SphericalVoronoi 2b0458d07 DOC: dev: add guidelines for developing public Cython APIs 6314c1c7d DOC: add Examples in scipy.optimize.line_search docstring (#11824) 9dd2b6d61 Move bounds check to _minimize_lbfgsb b225fd7a6 Merge pull request #11608 from ririw/fix-is-de-callback 286334628 ENH: Raise an error on incorrect bounds format in optimize.fmin_l_bfgs_b 49cdb5eed MAINT: stats: Check for np.AxisError instead of IndexError in an iqr test. 921979dc6 MAINT: ndimage: Replace _ni_support._check_axis with normalize_axis_index from numpy 962bf1cf4 ENH: interpolate: Allow BSpline to accept a negative axis. 3fc8aec56 BUG: scipy.sparse.csr doctest failing with incorrect output value (#11814) d047ff1ab Duplicate entries are added together in csr_matrix constructor (#11809) 9eb4f55c6 BUG: stats: Fixed kde returning a different datatype than the input. a5e81e5e3 Support path objects (PEP 519) in mmio functions (#11439) d4035d1e0 Merge pull request #11796 from AtsushiSakai/issue_11391 c421a3105 MAINT: stats: support for size-0 arrays in rankdata w/ axis kwarg 2342f3a5a Merge pull request #11765 from sethtroisi/fast_tests_2_the_fastering 3569d6363 TST: Skip failing gejsv? test b7516f08d BUG: fix scipy.special.voigt_profile (#11684) 066d855ee TST: Use joba='R' in gejsv 01bb6477d DOC: add docstring for a note about precision losing in csgraph.minimum_spanning_tree (#11391) 9d47b6a55 Merge pull request #11794 from pv/cython-optimize-abi 21aed8cc6 MAINT: add comments explaining ABI issues in cython_optimize 665d9b372 DOC: fix docstring of scipy.optimize.least_squares (#11752) 02a8b1288 Merge pull request #11789 from AtsushiSakai/issue_11442 c8060c45e fix docstring of scipy.spatial.chebyshev 1a1ab0dd3 ENH: stats: add axis keyword argument to scipy.stats.rankdata 82b08e11b MAINT: optimize: accomodate changes to pyHiGHS interface in _linprog_highs 6143bb8f6 Merge pull request #11705 from tylerjereddy/sph_vor_docstring_slerp b526edbd0 MAINT: optimize: add options, correct documentation, correct slack and con in _linprog_highs fef7d622f BUG: fix small tolerances handling for minpack and add a test. (#11741) 123cd8b96 TST: ?gejsv: Test k largest singular values bebdf7cff REVERT: Remove docstring from wrong function 6ef722ba4 TST: strengthen tests for ?gejsv with invalid args b6c9231a0 TST: gejsv: Add tests for n = 0 856aa0e32 ENH: ?gejsv: Minor fixes for ?gejsv wrapper 796e55b1c MAINT: optimize: add disp option for linprog_highs, replace np.inf np.inf needs to be replaced with a large constant. This fixes a lot of tests! 2cb83fc59 MAINT: optimize: ensure A is csc_matrix in _linprog_highs.py ab2c51ca7 Merge pull request #11130 from pmla/spherical-voronoi-circular-input 7fd3a27d8 Merge branch 'master' into lapack_support_gejsv 4c90fa037 Merge branch 'lapack_support_gejsv' of https://github.com/swallan/scipy into lapack_support_gejsv 380fac87b DOC: Add comments to further explain ?gejsv tests bf3fdf2be Handle constant input for scipy.stats.f_oneway (#11726) 8a0916df4 circular input test generalizes geodesic test 7b496d7a6 Merge branch 'spherical-voronoi-circular-input' of https://github.com/pmla/scipy into spherical-voronoi-circular-input c5eaa2378 ENH: optimize: populate HiGHS OptimizeResult dict 9c735a23b ENH: support for circular input 1532d37d9 TST: optimize: adjust linprog HiGHS callback test f686d47c1 TST: Update parametrization, exclude non relevant cases 0d742b713 ENH: Register ?gejsv functions in lapack.py 7ac26a178 Merge pull request #11744 from sethtroisi/py3k_part2 5f32c7e88 Change comment in continuous rv gamma fit function (#11767) 195485a0d ENH: Test invalid job? combinations for ?gejsv 6996efd19 ENH: Add complex values of ?gejsv 9e211141a TST: Add test for illegal ?gesjv arguments af1590695 ENH: optimize: add HiGHS methods to linprog eba29d698 Merge pull request #11766 from andyfaff/diffevtest 80e509664 TST: Speedup test_pascal which is VERY slow on Azure 21703dbac TST: speed up diffev.L8 test 69135f7f7 MAINT: Remove PycStringIo from io/matlab/py3k.h 7e0f506b3 MAINT: Delete sparsetools/py3k.h code e70b1af29 Merge pull request #11755 from eric-wieser/remove-tostring e07582c48 MAINT: Replace uses of tostring with tobytes b818978f3 Merge pull request #11748 from person142/cython-special-stubs c8f13affe MAINT: special: type `cython_special` as `Any` 3de0d5809 Merge pull request #11743 from AtsushiSakai/issue_11566 65a424761 Merge pull request #11745 from WarrenWeckesser/doc-ncf 3552dc88c DOC: stats: Clean up ncf documentation. f9215eb1f BUG: stats: Non-central Fisher distribution (fix nan-values when nc=0) (#11667) e7d79cb9d Doc: fix docstring of rfft, rfft2, rfftn, irfft, irfft2, irfftn. abcc43099 MAINT: PR 11705 adjustments 20dc0665c DOC: Slerp the SphericalVoronoi docstring 1150c4c03 Merge pull request #11735 from AtsushiSakai/issue_11720 fe0ed829e MAINT: special: remove unused specfun f2py wrappers a432f6dbb Merge pull request #11739 from person142/mypy-test-round 48dee3215 MAINT: special: add type stubs for `_test_round.pyx` a09b5feb2 Merge pull request #11655 from sethtroisi/cstringio 31ceb9fd3 Merge pull request #11734 from AtsushiSakai/issue_11630 7bbbac13e TST: Test ?gejsv iwork and singular values fa2765780 ENH: Test all ``job?`` combinations in ?gejsv 680e6ebe5 FIX: Add shape of `u` array when jobu='F' cfdae072e Bug: stats: fix wrong shape from median_absolute_deviation for arrays with size 0 and an axis. e9d961624 ENH: linalg: Update ?gejsv default job? values 3fb8d992f ENH: linalg: Replace eig call with svd f4539d567 Doc: fix inaccurate docstring of SmoothBivariateSpline. ea5e386a7 MAINT: Fix PEP8 and reviewer comments f323585c7 Merge pull request #11488 from AtsushiSakai/issue_5309 e71cff75c Merge pull request #11733 from AtsushiSakai/issue__11676 c640ff6ce to fix inaccurate docstring example of HalfspaceIntersection 24bc27b6f Merge pull request #11706 from person142/runtests-mypy 245f183f0 MAINT: invoke mypy via `mypy.api.run` in `runtests.py` 2b5b4d005 ENH: mypy: add `--mypy` option to `runtests.py` b5fe88f9a Merge pull request #11716 from rgommers/fix-bench 616effe80 Merge pull request #11731 from AtsushiSakai/issue_11696 c84315cb3 to fix inaccurate information to fix #11696 9a686fa84 Merge pull request #11722 from person142/mpmath-ignore 3ab26ee1f BENCH: optimize: added infeasible benchmarks for linprog 451b09fd5 Merge pull request #11526 from AtsushiSakai/issue_4921 66348b0fd ENH: Update docstring of class KrylovJacobian (#11485) 01ab10f70 BUG: fix SLSQP max iteration setting to fix #4921 37d42b371 DOC: add .. versionadded:: to Rotation.as_matrix/from_matrix 1f9cd42f9 Merge pull request #11721 from person142/numpy-types-upgrade 9daf4f450 MAINT: mypy: remove mpmath from the ratchet 1075fab8e MAINT: io: Remove now-unnecessary `# type: ignore` 69f44c0b6 Merge pull request #11679 from scidam/pr-11653 00b5d1a15 cKDTree benchmarks added: balanced/unbalanced tree 50efda5f9 BENCH: fix benchmark imports for ``optimize_linprog.py`` ae34ce483 Merge pull request #11683 from grlee77/conv_mirror_size1_fix 4838c04cc Merge pull request #11701 from person142/special-ufunc-stubs 30e33c24a Merge pull request #11694 from tylerjereddy/issue_11693_openblas_bump 6b6f068b9 Merge pull request #11702 from ilayn/gh11601 bb7a959be DEBUG: show Azure Win test durations. 380da5517 BUG: Fixed a post-merge bug for eigh() 55c5f093c Merge pull request #11697 from chrisb83/norminvgauss_doc 18744926c MAINT: special: add rudimentary types for `_ufuncs` extension module 837df49f6 ENH: add geometric_slerp (#10380) f5351e8af DOC: fix pdf of norminvgauss in scipy.stats a1931e932 Merge pull request #11692 from person142/mypy-errors 03e4c777a MAINT, CI: speedup Azure test times 01654ad12 Merge pull request #11672 from erheron/medfildt-doc-issue 8d6c7a10a MAINT: linalg: remove outdated `linalg_version` 51409be97 TST, MAINT: bump tol for test_L4() cbc910aa4 Change "Raises" to "Warns" 31a435ed3 Warn only once 1cf497f2f TST, BUG: bump to OpenBLAS 0.3.9 stable 2eda81e7a MAINT: mypy: fix remaining type errors 56e6e7fdb Merge pull request #11690 from person142/mypy-errors 19300fcf1 MAINT: mypy: fix errors about incompatible types in lists 22af7baa3 Merge pull request #11688 from person142/add-numpy-stubs 6aec34540 Merge pull request #11687 from person142/np-core-imports cf57ebed3 ENH: mypy: get specific about ignoring missing imports 315e22689 MAINT: sparse.linalg: avoid importing from `np.core` a76efce57 TST: add test case corresponding to gh-11661 4e94f06c7 BUG: fix NI_ExtendLine mirror extension for lines with length 1 3bc158b70 Merge pull request #11642 from tylerjereddy/remove_dead_travis_ci_numpy_pin a20ca9c3c Merge pull request #11678 from person142/mypy-ratchet a50ca1edd MAINT: tidy up DE solver stop 0490cf735 ENH: add mypy ratchet 8ae30e45d TST, MAINT: remove dead code in Travis CI b7fd41d4e TST: linalg: PEP8 fixes 13cf23a09 Merge pull request #11675 from tylerjereddy/pycodestyle_cleanup 55d4facf4 MAINT: pycodestyle clean-up d6de7edb0 Merge pull request #11674 from rgommers/pre-failres 521e489f3 TST: bump test precision for two np.dot related linalg tests. 55a72024a Add pytest.warns to test suite fc85c265d Standardization of bounds in _linprog_util.py (#11605) 27a572960 Merge pull request #11671 from tylerjereddy/temp_restore_azure 564b7e114 Add warning to medfilt 3a8c5480a TST, CI: restore Azure temporarily ce0e23ecd PERF: Switch to C++ STL std::nth_element (#11653) 9bf8e0b74 MAINT: linalg: fixed minor issues after merge b4f62f837 TST: clarify comments on factorization 043147e57 TST: remove ugly parametrization, put in function 76ca458b2 TST: generalize error handling for wrong shape b acd542cdf TST: change indexing f49368971 TST: Break up megatest, array size test 157da8317 TST: Add gttrf lu function, parametrize trans 0c24abbb1 TST: refine comments, add lambda missing arguments 2fdbc9512 TST: Add transposal options to test 5231b6310 TST: Add docstring, NAG manual example tests. 4baebd2ea TST: Add initial test for lapack routine gtsvx This commit adds tests for the lapack routine gtsvx. It parametrizes dtypes and facts. It creates a tridiagonal matrix, defines a solution x, and then generates solution b. It tests that the inputs are unmodified, outputs can be combined into the original matrix A, and that the outputs are of the correct format. 9a4cf8c30 ENH: Fix iwork -> rwork in ?gtsvx c6cf6ff9b ENH: Linalg: Add <z,c>gtsvx wrapper 1be838337 TST: Add NAG example f07cpf as test b104089a0 TST: Test real ?gtsvx with NAG f07cbf example 1ac75f6bc ENH: Linalg: Add wrapper for real ?gtsvx a0395e94a BUG: fix use of is in DE callback 7aa886ef4 ENH: Add wrapper for ?pttrf/?pttrs (#11657) ec358dd34 Merge pull request #11647 from andyfaff/gh11638 0bb9281be ENH: Add start of wrapper for gejsv 07cb70ae2 Merge pull request #11524 from balopat/csd 9938e813d MAINT:DOC: Code cleanup and added missing backticks 422b2335d ENH: Complete functionality, keywords and docs e193f1634 MAINT:DOC: Reorganized and regularized code and examples 3a0420508 Merge pull request #11376 from Kai-Striega/lapack_support_gttrf_gttrs_2 0e33004fc Merge pull request #11640 from ilayn/trmmfix a5337e55d DOC: minor English nit bc20ac096 MAINT: responded to reviewer comments in gh-11376 c1372d8aa Merge pull request #11646 from sethtroisi/__future 5447295f2 MAINT: Remove Python2 cStringStream 4d2d14486 Merge pull request #11626 from sethtroisi/PY_VERSION_HEX_3 8c82e688f Merge pull request #11651 from jrwrigh/patch-2 5f3b3a68a DOC: Update paper URL in lambertw documentation eefd95fc4 ENH: add nan_policy argument and functionality to stats.mstats.winsorize (#11619) bc200f562 DOC: document return_all 6d576be24 MAINT: Remove unnecessary 'from __future__ import ...' statements 6b4ea6a7c BUG: interpolate/interp1d: fail gracefully on all-nan inputs 06a436fb2 Merge pull request #11643 from tylerjereddy/fix_numpy_int_dep_conv 78adab4f4 MAINT: fix conversion in binom_test 2774bec15 Merge pull request #11623 from sethtroisi/__future_part1 5c7a57603 Merge pull request #11585 from tylerjereddy/treddy_openblas_support f8f8ce1b1 Merge pull request #11621 from sethtroisi/PY_VERSION_HEX_1 e3bf555a1 Merge pull request #11631 from pmla/lsap-constant-cost 23f83a904 MAINT: Fix BLAS trmm wrapper for side arg c5b9f5e09 Merge pull request #11632 from alexhenrie/array_anyorder 568e2fb65 MAINT: Define ARRAY_ANYORDER with DEF instead of cdef c050fd9f9 reverted to old behaviour for constant cost matrices 398849de2 TST: add openblas_support.py 0c7545e70 Merge pull request #11628 from tylerjereddy/azure_matplotlib_remove_guards fd5b29715 MAINT, TST: adjust azure for matplotlib release d0cdf7a75 MAINT: Cleanup uses of PY_VERSION_HEX 2903045e9 MAINT: Cleanup uses of PY_VERSION_HEX, PY_MAJOR_VERSION, NPY_PY3K 9d7e82736 Merge pull request #11589 from sethtroisi/sys_version_2 f254fa695 MAINT: Remove unnecessary 'from __future__ import ...' statements f0757ef45 MAINT: Cleanup uses of PY_VERSION_HEX, PY_MAJOR_VERSION, NPY_PY3K 4dcc38655 TST: Update index error checking 92b99bf9b TST: change assert_ to assert, rtol -> atol 3921588a4 Merge pull request #11539 from pvanmulbregt/warnings_interpolate 5bd4bfce8 Merge pull request #11590 from sethtroisi/py_version 0538284d6 ENH: special: add `log_softmax` (#11187) 77460a418 ENH: Convert rtol to atol for tests 05c7d35be ENH: linalg: Change NAG test to use atol 486440eb0 ENH: Define only ``hide`` intent 3f1f8de6b ENH: Move arg checks to be definitions 499d91fae Removed use of np.nditer as context manager as it breaks Py3.6. 512bde43a ENH: Speed up truncnorm's ppf()and rvs() methods for gh-11299. 5a781fd4f MAINT: Addressed comments of reviewer for warnings in scipy/interpolate. 8675d6e3b Merge pull request #11517 from smola/lil-tocsr e8f396b55 ENH: improve docstring of weibull_min_gen and weibull_max_gen to fix #10014 (#11527) e27a9c136 Merge pull request #11188 from chrisb83/argus_rvs ecd2fd365 MAINT: Update random array generation 88ccc7d9b Merge branch 'master' of https://github.com/scipy/scipy into lapack_support_gttrf_gttrs_2 ca54f2f69 MAINT: Remove Python 2 workarounds a03f15fe4 Merge pull request #11459 from fuglede/fix-augmentation 2e410cbd4 MAINT: Remove Python2 module init 425a317d4 Merge pull request #11549 from sethtroisi/range 776eef483 MAINT: use ratio of uniforms for large chi 19745cc70 MAINT: add rvs method to argus in scipy.stats 9a1969cba BUG: Differential evolution with LinearConstraint with sparse matrix (#11587) 271f33570 MAINT: Fully display problem size in lsmr/lsqr. fead97bf2 Merge pull request #9719 from pvanmulbregt/kstwo_rebase 90866a21d fix typo in quadpack.py a4532138a Merge pull request #11534 from peterbell10/fft-byte-order 25982656a BUG: fix augmentation being broken in maximum_bipartite_matching 92bc9d550 Merge pull request #11575 from Kai-Striega/tidy_sytrd_test 30ff2fe96 Merge pull request #11510 from Jiacheng-Liu/sparse-doc-improvement c96079989 fix import numpy f2177e4fc Merge pull request #11532 from pvanmulbregt/warnings_linalg 248bf1f6b Merge pull request #11574 from arokem/error-msg-nnls 5b5446f10 Merge pull request #11573 from pvanmulbregt/warnings_stats afc20d669 MAINT: Fixed an unused assignment in scipy/stats. 4cff36f01 Merge pull request #11378 from Kai-Striega/lapack_support_tbtrs f743bbea7 Merge pull request #11245 from mdhaber/dense_rr_speedup 74d969797 MAINT: Small change to `optimize.nnls` error messages. a564f7812 MAINT: Removed unused imports; fixed unused assignments in scipy/stats. e3d732e4c TST: Add test for 1d hetrd 1b035d115 TST: Split zero dim hetrd test into distinct test 551de16b9 TST: Paramaterize hetrd tests 513251fa3 TST: Add test for 1d sytrd 6655c93b2 TST: Split sytrd test with zero dim array 5574b7aa9 TST: Parameterize sytrd test 4d15ee3e3 Merge pull request #11560 from ev-br/rv_frozen_argcheck 1e161716a Merge pull request #11547 from pvanmulbregt/warnings_spatial 54e4f6d37 MAINT: stats: remove an _argcheck call 44e96e2fb Remove expression left over from removal of an unused assigment. c236d0fca Merge pull request #11548 from pvanmulbregt/warnings_sparse c76e9bf18 ENH: Convert function to SciPy public API and address reviews 78313fbb5 ENH: Added wrappers for or/uncsd and lworks 290edf4c3 ENH: Add cosine/sine decomposition draft b1ef4af70 TST: correct invalid info values 9beb4c56e Merge pull request #11538 from pvanmulbregt/warnings_fft 495631ee4 Merge pull request #11541 from pvanmulbregt/warnings_special 8c8443063 Removed a commented-out import in fft/tests/mock_backend.py 66eb49aea Fixed spatial.tests.test_pdist_seuclidean_random_float32 436b19a80 fix explicit import and pick a smaller n a1f3dcf94 fix explicit import f231b645f Merge pull request #11542 from pvanmulbregt/warnings_odr 26a69b9ef Merge pull request #11545 from pvanmulbregt/warnings_fftpack ecfc18109 Merge pull request #11544 from pvanmulbregt/warnings_integrate 96eb35b7b Merge pull request #11546 from pvanmulbregt/warnings_signal 5b9726bdf Merge pull request #11543 from pvanmulbregt/warnings_io 2615740c1 MAINT: Replace xrange with range 96023d6d5 MAINT: Removed unused imports; fixed unused assignments in scipy/sparse. abb2db5dc MAINT: Removed unused imports; fixed unused assignments in scipy/spatial. 396d40908 MAINT: Removed unused imports; fixed unused assignments in scipy/signal. 91b4020fb Merge pull request #11397 from andyfaff/rand_gen 9be064cc9 MAINT: Removed unused imports and fixed unused assignments in scipy/fftpack. b485a6633 MAINT: Fixedunused imports and unused assignments in scipy/integrate. 33aaac517 Fixed warnings from scipy/fft/_pocketfft 2aba7032a Merge pull request #11540 from pvanmulbregt/warnings_misc 97dc33320 MAINT: Fixed several unused imports and unused assignments in scipy/io. 1ff710766 Merge pull request #11531 from rlucas7/bdtr_docstring_fix ebfd1487d Merge pull request #11536 from pvanmulbregt/warnings_cluster 6558a242d MAINT: Fixed an unused import in scipy/odr. af2887c4d Merge pull request #11535 from pvanmulbregt/warnings__lib f089f2c1a MAINT: Fixed about 100 unused imports, unused assignment warnings from scipy/optimize (#11533) 90bf08399 MAINT: Fixed several unused imports and unused assignments in scipy/special. 346ce9205 MAINT: Fixed two unused imports in scipy/misc. 72731d4f6 MAINT: Fixed several unused imports and unused assignments in scipy/interpolate. 89eae9e7b MAINT: Fixed several unused imports and unused assignments in scipy/fft. 3d360b721 MAINT: Fixed several unused imports and unused assignments. 8bb5cab47 MAINT: Fixed several unused imports and unused assignments. 5eefcbdcf Addressing comments of reviewer. Replaced "_ = func(...)" with "func(...)" 748a3ad2f FIX: Copy past error in test b890b8f50 FIX: Allow non-native byte order inputs to scipy.fft d667e1537 Merge pull request #11530 from pvanmulbregt/warnings_ndimage 292db2d10 Merge pull request #11436 from sethtroisi/sys_version_1 3525c3278 DOC: fix typos in bdtr and bdtrc from gh PR 11045 37fd81197 MAINT: Fixed several unused imports and unused assignments. e1852876b MAINT: Removed 3 unused imports, 3 unused assignments from ndimage. 6f0b508ca Implementation of khatri_rao product (#11456) b6d570d42 DOC: improve docstring of correlate and correlate2d (#11487) 6042a1523 Merge pull request #11520 from peytondmurray/issue-11370-nan-eval-gegenbauer b0f34cdfd Addressing reviewer comments. cd0f430ad Cleaned up _ppf_single after reviewer comment. d0d827df2 DOC: Changed markdown level for Examples section in continuous_kstwo.rst. f78863e3b Fixed indentation in test_cont_basic (check_vecentropy/check_private_entropy.) a052c482d DOC: Update the number of continuous stats distributions to 101 d42ef2fe9 Added a test of values computed near the mean of the KSTwo distribution. e818376ca DOC: Added more documentation to tests for stats.kstwo be03efdde DOC: Updated docstrings and examples based upon reviewer comments. dbe17357c Removed an extraneous comment in _continuous_distns.py. 886ee79d8 Fix the _get_support for stats.kstwo. 72318be1d Fix the support for stats.kstwo. d41208502 STY: Fix 3 pycodestyle space issues 644268a83 ENH: Enhance efficiency of some stats.kstwo basic operations. b8e23cb6d TST: Added kstwo to list of failing distributions in stats/tests/test_fit.py. 72edf2f10 TST: Added ksone, kstwo to list of skipped distributions in TestFitMethod. df9bf6a80 DOC: Added necessary doc for stats.kstwo distribution. 83d2a8a0d DOC: Added more documentation and references, some cleanup. 450953558 ENH: Added kstwo probability distribution for two-sided one-sample K-S tests. fbaec455a Merge pull request #11418 from Kai-Striega/lapack_support_geqrfp f11812cf8 STY: Additional spelling and notes fixes 31152da6c Merge branch 'master' of https://github.com/scipy/scipy into lapack_support_geqrfp 006cc8bd2 TST: linalg: Split geqrfp empty array test 6c366c495 ENH: linalg: Implement review commentsi 8fe52e3ca ENH: avoid copy on sparse __init__ when dtype is given ef277bf9e DOC: Improve documentation of scipy.signal.signaltools.wiener (#11499) 7766c69aa ENH: improve sparse.lil.tocsr performance 8829767d8 BUG: make special.eval_gegenbauer return nan if passed nan 466e77cb4 TST: pep440 skip comparison 8da5d2c20 TST: Add test iwork rank reporting 566ce19b8 DOC: Fix fresnel documentation (#11519) d63e15bf9 Merge pull request #11514 from peytondmurray/issue-11361-nan-eval-genlaguerre ff18fe7d6 MAINT: Cleanup sys.version checks for Python < 3.5 6bb954d3c Merge pull request #11425 from peterbell10/complex-array-newton 49924cfc5 Merge pull request #11434 from sethtroisi/numpy_refguide 73bc7e389 DOC: integrate: Update integrate.quad documentation (#11469) 60914869f BUG: make special.eval_genlaguerre return nan if passed nan 2f9a13afc TST: skipif for np.random.Generator 1590827c2 Merge pull request #11511 from tylerjereddy/treddy_issue_11460 4b33202d3 TST: pin numba for Travis/sparse 815d96b11 Merge pull request #11513 from tylerjereddy/ppc64le_issue_11460 94a55687e TST: disable NumPy cache dir ppc64le 6bb6dd6d8 TST: ?gejsv parametrize job? values, matrix size, dtypes This commit parametrizes job? values, the matrix size, and dtypes. It also adds a function to test more specific gejsv cases such as malformatted size or invalid parameters. 7c8646b94 ENH: avoid unnecessary array copies in matrix product (again) ee53ef27c An ex. for creating arbitrary size tri-diagonal 68f980bc6 Merge pull request #11498 from emmanuelle/maxflow-docstring-graphcuts da3bb0892 Merge pull request #11486 from peytondmurray/issue-11369-nan-eval-hermite eab70a880 Merge pull request #11506 from kechtel/patch-1 42de059d9 Fix typo in documentation of scipy.stats.morestats 52757d273 Merge pull request #11389 from andyfaff/mtx 11ad8b2ae Fix: Can no longer slice csr_matrix in 1.3.0 (#11265) 19478b67a TST: gh11389 14c56faea MAINT: {RandomState, Generator}.uniform 45aa947c3 DOC: amend docstrings 07c762257 MAINT: basinhopping accepts np.random.Generator d92375e3b MAINT: dual_annealing accepts np.random.Generator 1a496d553 MAINT: differential_evolution accepts np.random.Generator e109fe60b BUG: make special.eval_hermite return nan if second argument is nan 53fac7a1d ENH: avoid unnecessary array copies in matrix product a68582f7f mention graph cuts in maximum flow docstring 5e05af617 Merge pull request #11304 from ilayn/eigh_evr 787906970 Merge pull request #11455 from pvanmulbregt/getargspec2 d77be984a Merge pull request #11402 from andyfaff/stats_rand a2ac38e38 PEP8: Full cleanup of test_decomp.py 00d2d6e02 DOC: Fixed the eigh docstring examples f043ec636 MAINT: Fixed the job dependency of evd lwork routines 457d5c7fd TST: Added eigh() std/gen driver tests fcf4d3b87 DOC: Added more examples to eigh f0f44ce7d MAINT:TST: refactored and cleaned up eigh tests 0835839a8 MAINT: add decomp.py to utf-8 encoding list 4b8815b6d MAINT: Modify also eigvalsh to match new eigh f39520e10 DOC: Double backticks for variable names cc95e4e01 DOC: Clarify docstring rendering comment and PEP8 a8992cb3b DOC: Mention eigh array finiteness check scope e8e2b23a9 DOC: Fix Regex for doc building 6b209309e DOC: Made bound expressions literal 45f7aecb8 MAINT: Allow for equal index bounds in eigh 2be442b19 TST: add new tests for eigh 31788a83f MAINT: Change arg order of gvd calls fd7c90cb7 MAINT:ENH: Rewrite eigh and add all driver possibilities 8233af953 MAINT: Fix ordering of the args and typos d91ce9496 MAINT: Revert the char string to double quotes 0263e991f MAINT:ENH: Added missing lworks, added more wrappers for eigh 3b42df528 MAINT: Rewrap ??evr, add lwork, adjust eigh a5aa7b761 TST: ?gejsv begin adding tests for random and NAG manual 2329f5af2 MAINT: reorder tools/refguide_check imports 1bee17531 Merge pull request #11489 from Konrad0/stats_kendalltest_prob_typo 69e53dbcf FIX: Move type cast inside of _array_newton loop f614064f3 Merge pull request #11490 from smola/typo-mio4-doc 32a4a2704 DOC: fix typo in scipy/io/matlab/mio4.py e8a2ba942 BUG: fixes typo introduced in PR #11253 in stats.mstats.kendalltau() cb00d0794 fix func -> fun to solve #5309 a418cbd23 Merge pull request #11476 from WarrenWeckesser/fixtypo 0452b50c4 ENH: add docstring of butter() for transfer function syntax problem (#11404) 928a6d51e Merge pull request #11481 from peytondmurray/issue-11363-nan-hyperu 5b33b9254 BUG: make special.hyperu return nan if any argument is nan a80b7d1c0 DOC: stats: Copy-edit the anderson docstring. ff8b9d9e8 Merge pull request #11435 from sethtroisi/runtests_help 2fdafaa12 FIX: _array_newton should handle real x0 and complex f(x0) 7151a58d3 DEV: Upstream changes to refguide_check from numpy 15f2c6544 Merge pull request #11472 from weretere/fix_result_typo fb28c1ab0 Fixed result typo 24c3e04e6 Merge pull request #11461 from gdmcbain/spelling 03b470f90 spell 'Hermitian' c30bd8567 spell 'decomposition' 39a97e4e2 Merge pull request #11454 from fuglede/patch-6 ac9d4ebb2 BUG: Fix _lib._util.getargspec_no_self lack of KEYWORD_ONLY support. 7e3cda70f fix docs & behavior for mode sequences in ndimage filters (#11284) 206ac588f DOC: Remove caveat on `maximum_bipartite_matching` 832bdf3b0 Merge pull request #11443 from andyfaff/bench 17f31db2c BENCH: optimize_linprog remove ImportError exception 3c3122f31 Merge pull request #11440 from cjekel/fix_da_benchmark 363151f84 Merge pull request #11437 from Stefan-Endres/patch-1 813e44f5e Merge pull request #11433 from sethtroisi/L_in_docs 8c335d1c5 correct bounds pass in run_dualannealing for benchmarks/optimize.py 30d40c96d Fix documentation issue 10f3bb619 DOC: Update runtest --parallel help 40a5c7cd6 DOC: Fix typo 7f31c42fa DOC: Remove L from longs a90365267 Merge pull request #11426 from andyfaff/ampgo_licence c7839c144 MAINT: licence for global optimization benchmarks 089e3b2ae Merge pull request #11419 from tylerjereddy/python37_macos_gcc_multibuild_fix dadf4984c FIX: _array_newton should preserve complex inputs e6b9cc70e TST: use hasattr rather than try/except 397f64bd7 ENH: stats.kde.resample can use np.random.Generator 9af5946b2 ENH: stats can use np.random.Generator 04c59ef48 DOC: revert gh10540, removing mtrand (#11396) 1a5cb81fb TST: remove problematic gcc c322549dd Revert "CI: pin multibuild in travis osx CI (#10917)" 4db8d8115 Merge branch 'master' into lapack_support_geqrfp ee8be7d6c ENH: Linalg: Guard lda with against 0d arrays 2457ce70d Merge pull request #2 from swallan/lapack_support_geqrfp de56dd4a8 TST: Fix typo and make tests more succinct 89d5349b2 ENH: Add a `plan` argument to FFT functions in `scipy.fft` (#11408) d2a9843fa MAINT: check minimize duplicate evaluations (#11411) cca062eaf TST: ?geqrfp use np.diag instead of indexing 7cbcc7f79 TST: ?geqrfp: Refine comments and remove info test 482ec8d15 Merge pull request #11405 from hroskes/master 964cb4efb DOC: Fix "see also" for SmoothBivariateSpline 0a1c77472 ENH: add optional argument, "include_nyquist", for freqz() (#11368) 0491372a7 TST: Added test description comment, made tests more succinct. 7a73b1eb6 Merge pull request #11395 from slayoo/patch-1 48495fad3 Update zeros.py fb343de1b MAINT: skip comment mtx c9255cdc0 Merge pull request #11399 from tylerjereddy/forward_123_notes 10b6d07f5 MAINT: forward port 1.2.3 release notes 9019fb53d MAINT: figure out if file was opened as binary d5879a3eb ENH: linalg: Allow ld? to be size 1 8b00d0592 correction in error message (%d->%g format) c94279890 MAINT: line.startswith shouldn't be bytes f865e9ed0 Merge pull request #10942 from hickmanw/fix_lbfgsb e5ffa7875 MAINT: shorten lbfgsb.f fix 4276414df ENH: sparse: fix equality comparison for Pydata sparse (#11164) 6d38aee77 Merge pull request #11330 from peterbell10/aix-build 7e0f642bd Merge pull request #11335 from perimosocordiae/outer-slice 413da825c MAINT: optimize: replace dtrsv with dtrsm for redundancy removal 898f55a22 TST: ?geqrfp test parametrization and tests added Added parametrization for dtypes, tall, wide, and square matricies. Tests that the routine does not return any negatives on r diagonal even when linalg.qr does. Modifies how q is extracted from the ?geqrfp result for when m>n. 21359b11e ENH: linalg: Fix `ldb` definition for ?gttrs b5c2c3c0d TST: Bump ?gttrs tolerance to 100 * eps c3ad98be8 Merge pull request #11384 from eric-wieser/patch-4 8bd2e85fc MAINT: Use numpy scalar types directly 0d4e1e800 Merge pull request #11383 from ev-br/cleanup_getargspec eb3ed3bd6 MAINT: _lib: remove py2 compat shims in getargspec aadb500e0 TST: geqrfp; initial add tests for lapack routine 5b5050b84 Merge pull request #11379 from cclauss/patch-1 8b556dc41 BUG: sparse/isolve: bicg and qmr don't treat x0 correctly e114f8508 ENH: optimize: in linprog preprocessing, use CSR instead of LIL for speed (#11358) f4d776de3 BENCH: optimize: added linprog presolve benchmarks (#11372) d3ff9a617 MAINT: Remove six.with_metaclass from benchmarks/cython_special.py 27b219f39 Merge pull request #11377 from cclauss/patch-1 ed2eee831 Remove Python 2 code from tools/authors.py f934c6119 ENH: linalg: Test ldb >= max(1, n) in ?tbtrs c6a76cb7d TST: linalg: Test ?tbtrs with size 0 inputs 181523b6f TST: linalg: Test ?tbtrs with a zero diagonal f2afd89cc TST: linalg: Test dtbtrs with invalid arguments 702fa08f6 ENH: linalg: Test ?tbtrs when A is unit triangular 1f90d63c1 ENH: linalg: Test trans = {T, C} in ?tbtrs 893b02b87 ENH: linalg: Allow b to be complex 5306161a8 STY: linalg: Add comments describing A,b args bd5f8c55c ENH: linalg: Test ?tbtrs with random matrices c6043630d ENH: linalg: Add wrapper for ?tbtrs 1e37b5ee2 TST: linalg: Add test for ?tbtrs NAG example 754ab92e5 Merge branch 'lapack_support_gttrf_gttrs' of https://github.com/swallan/scipy into lapack_support_gttrf_gttrs_2 cb42f2f68 Merge pull request #11353 from andyfaff/callable 16116d1b4 ENH: optimize: speed up CHOLMOD in linprog "interior-point" (#11226) 69f891ed2 MAINT: remove _lib.six a849b8cec Merge pull request #11364 from bantmen/anova-cache-square-of-sums 99fd7cd8c TST: ?gttrf refine _info check for illegal value d3b7921d6 MAINT: sys.version_info >= 3.5 (#11362) 96e2b46b3 ENH: Cache square of sums for f_oneway 967769bf6 MAINT: remove six.reraise usage 0d4022d78 MAINT: remove unused six.with_metaclass import e61f3f508 MAINT: remove six.{binary_type, text_type} usage a1788cc34 MAINT: remove six.integer_types usage 6178b3643 MAINT: remove instancemethod shim ae1514847 MAINT: make special.factorial handle nan correctly (#11254) 47e52047f Merge pull request #11333 from tylerjereddy/issue_11332_hausdorff_subsets 6a963029a Merge pull request #11324 from peterbell10/link-pthreads 2cd74cb5f Merge pull request #11347 from AtsushiSakai/master e53897db8 Merge pull request #10762 from mdhaber/linprog_benchmark_magic_square 92d150116 MAINT: remove six.StringIO usage 26956cc53 MAINT: remove six.get_method_function get_function_code usage bbbd974d1 MAINT: remove six.u usage f82aa89ca MAINT: remove six.PY2 usage f7064c0bf MAINT: remove six.iteritems, iterkeys, itervalues cf09e5c24 MAINT: remove six.next usage 2344cb498 MAINT: remove six.integer_types usage d852d7fe6 MAINT: remove six.exec_ usage 432f2d92f MAINT: remove six.reduce usage ff8d0b9b1 MAINT: remove six.izip usage 2cbd257f6 MAINT: py3 remove six.callable 06fa3e03d MAINT: remove six.string_types usages d446bb988 MAINT: minor doc fix _minimize_trustregion_constr (#11349) fc9a026d9 Merge pull request #11340 from cclauss/xrange-was-removed-in-Python3 8278c8d79 add _validate_gpas_stop function and apply it to functions fff7225dc MAINT: Update vendored pypocketfft version 6ba71f5ab xrange() was removed in Py3 in _binned_statistic.py (#11342) e6e5f3c88 Merge pull request #10673 from andyfaff/approx_derivative e6499f495 xrange() was removed in Python 3 in favor of range() 3261f5e6a Merge pull request #11338 from cclauss/patch-2 fac296a79 Undefined name 'e' in pavement.py 46d769b90 scipyoptdoc.py: Remove unused variable 'sixu' d5a1156fe BUG: directed_hausdorff subset fix fe6276592 Loosen check for sparse outer indexing fast path ebe5c22e3 TST: parameterize NAG, clarify names and comments 9a0ada2de Merge pull request #11308 from mattip/no-1d-array 2049b44e8 TST: Add URL explaining LU 9be6c3383 TST: Clarify comments, remove unneeded lines, fix spelling typos. 665172d40 TST: Add parametrization and make matrix permutations more efficient 4105c6e5a BLD: Make -pthread failure a hard error 5011b7202 MAINT: Add some comments to pypocketfft pre build hook 1a52f2b25 BLD: Don't assume -pthread is already set on compiler 977ee7ef5 Add a warning to constant input for spearmanr() function (#11225) d15da4e18 BENCH: optimize: implemented gh-10762 suggestions; updated for gh-10602 5768aeb08 BENCH: optimize: modified tracked errors for Netlib benchmarks 6a4ec7c17 BENCH: optimize: controlled slow tests with environment variable 0363fab41 BENCH: optimize: fixed mistake in track_netlib_rr b659c9089 BENCH: optimize: joined path with os.path.join instead of + a01d11d47 BENCH: optimize: added error tracking for all benchmarks c470a5d80 BENCH: optimize: added linprog redundancy removal benchmarks 1a69379b4 BENCH: optimize: added more Netlib benchmarks; accuracy checks now in teardown 5fdb495a0 BENCH: optimize: added accuracy tests to most benchmarks 330eb0f52 BENCH: optimize: added magic square benchmark for linprog 523230a8a MAINT: clean up object array creation, scalar/1d confusion (#11310) f52abb0da BUG: Include `int64_t` declaration to `rectangular_lsap.cpp` (#11320) 4508eed05 Merge pull request #11156 from AtsushiSakai/master ee68ea834 Merge pull request #11316 from person142/rgamma-zeros 4734996f7 ENH add input validation for ellipord. fb1b8a8aa BUG: special: fix behavior for `rgamma` zeros 1984f9774 Merge pull request #11317 from pv/fix-precision-i386 e57d8f800 Merge pull request #11318 from pv/fix-precision-i386-2 7fd3706e8 TST: optimize: mark two linprog tests for skipping 5caefe508 BUG: fix floating-point literal comparisons under C99 8e579ba23 Merge pull request #11300 from peterbell10/uarray-update 547c04b40 Merge pull request #11306 from rgommers/skip-alignedmem-test 1c0531adc Merge pull request #11311 from adeak/docbug_fclusterdata 2dba81315 DOC: Specify custom callable option for metric in cluster.hierarchy.fclusterdata cbb36861a ENH: do not create 1d array out of a scalar ff659f5ea Merge pull request #11307 from Kai-Striega/fix_solutuion_spelling 379b9506b MAINT: Fix typo 'solutuion' -> 'solution' 99dacaa26 TST: skip test_aligned_mem linalg test that is crashing on ppcle64 d6483ae23 BUG: rv_discrete.ppf() to handle loc (#11248) 47625f4d5 Merge pull request #11296 from person142/bessel-docs c7d9ea556 Merge pull request #11303 from person142/besselpoly-typo eeb2139c2 DOC: special: fix typo in `besselpoly` docstring 9ba41b3ec Merge pull request #11297 from person142/bessel-integrals b2c31402c Merge pull request #11301 from pv/azure-condition b92ec7e70 CI: azure conditions should require succeeded() a2a4c6a3e MAINT: Don't export Version from _lib.uarray e193c4460 MAINT: Update vendored uarray version 1a2666f1b Merge pull request #11292 from person142/special-convenience-funs 8a976b5f8 DOC: special: add to docstrings of Bessel zeros and derivatives daaba6102 DOC: special: add parameters/returns sections for Bessel integrals b4a5e3fa7 Merge pull request #11293 from person142/chdtri-typo ef056b1fa DOC: special: fix typo in `chdtri` docstring 0cfcfd20f DOC: special: add docstrings for various convenience functions fdf4cd83e MAINT: special: make bdt{r,rc,ri} accept double k args (#11045) 34e91c081 Merge pull request #11290 from peterbell10/NumpyVersion-to-pep440 09782295b TST: Remove non-equality tests for local version comparisons 4faa1e6cd Merge pull request #11285 from person142/chdtr-docs 2ee30d1fa DOC: Fix import in scipy.io.wavfile.read sample code (#11288) 91c2b4c92 ENH: optimize: efficiently initialize lu in Fortran order 29bc60776 Merge pull request #11289 from larsoner/arff def7e877e BUG: Use context manager for open a9471f040 DOC: fix minor issue in comment in .travis.yml 12af459ec BUG: make loadmat/savemat file opening close resources correctly. eac43b07e Merge pull request #11287 from rgommers/no-ci-on-merges 45b3e5ea2 CI: run TravisCI only for pull requests. 4e325005f CI: don't run Azure builds on PR merges or direct pushes to master. 383382953 DOC: special: complete the docstrings of Chi-square functions b85bc46c9 MAINT: Remove _lib._version in favour of _lib._pep440 cdb06ecfc TST: Repurpose NumpyVersion tests for _pep440.Version 5001ce720 MAINT: Replace uses of _lib.version with _lib._pep440 5b36a0f6a Merge pull request #11282 from rgommers/pytest-tb 345eb7229 Merge pull request #11276 from rgommers/build-updates f4f023cdc Merge pull request #11097 from pharshalp/chisquare 88f82a896 Merge pull request #11146 from d-chambers/patch-1 0e6f5b2d9 Merge pull request #11063 from Bharat123rox/optimize-doc 70b39178f CI: fix coverage "ignore include" messages printed on Azure. 35fe3a740 TST: put back --showlocals in PytestTester b9613f0b6 CI: remove -x (stop after first failure) from Azure config 64a29ef5f CI: remove -r (short test summary info) from Azure config 077886638 TST: import traceback formatting for test failures. 526ae326f CI: use Bionic on TravisCI to get the python3.6-dbg apt package 2ba64e7c8 Merge pull request #11278 from peterbell10/stats-iqr-numpy-cleanup ba741a6f5 Fix: Sparse matrix constructor data type detection changes on Numpy 1.18.0 (#11269) ac8469657 Merge pull request #11277 from peterbell10/numpy-version-cleanup cee31fec0 Merge pull request #11253 from Konrad0/stats_kendalltest_issue11175 2fdb10478 MAINT: Cleanup unsupported numpy verison conditionals b1d7ac76f MAINT: Cleanup test skips for unsupported NumPy versions a9cd96632 MAINT: Cleanup stats.iqr compatibility for unsupported NumPy versions 24d622213 BUG: small correction and style improvements for PR #11253 c33e9d3cb BLD: update minimum NumPy version to 1.14.5 033166b0c BLD: drop Python 3.5 support. It's time (see NEP 29). 4501f0f8b BLD: update minimum Cython and Pybind11 versions to latest. a1dbf0fd0 Merge pull request #11267 from pvanmulbregt/gh11184.kstwo ff1fc55ca Merge pull request #11251 from mckib2/linesearch-zoom-algorithm-reference d2a7b44be DOC: example of NonLinearConstraint (#11268) dd982aea1 DOC: Updated documentation for scipy.linalg.qr (#11256) 7893dba23 BUG: Explicit dtype specification in _upfirdn.py (#11229) fdab98e7f Additional citation for optimize tutorial (#11230) 729efb880 Merge pull request #11247 from WarrenWeckesser/compat-cleanup 86fb8fee1 TST: Fixed the expected values in test_stats::TestKSTwoSamples::testLargeBoth 53ae1a862 BUG: Rework the scaling in the ks_2samp two-sided exact test. 76da841e4 DOC: special: add to docstrings of Kelvin zeros functions (#11196) dc81a0a50 TST: Add #comments to explain tests, addition of proper LU composition 7b84b5345 Merge pull request #11236 from AKuederle/better-scipy-signal-iirfilter-error-message f92d368f8 BUG: Fixes issue #11175 for the masked version 0bb35c89d TST: add examples from nag manual as tests for ?gttrf/?gttrs 42c2ac976 TST: Add transposal test options for gttrs 49d8589bf BUG: Fixes Issue #11175 6d842cf18 DOC: add reference for linesearch zoom algorithm e291b10ec Merge pull request #11250 from tylerjereddy/forward_141_notes 31cdb0f2e TST: linalg: improve SuperLU permc_spec=NATURAL tests 980a85c7d Add PEP8 spacing around equality test 2b4bd7229 BUG: SuperLU 'NATURAL' order applies a column permutation 91252705d MAINT: forward port 1.4.1 release notes 6c54fd410 Try changing the random inputs for the test that appears to be failing. 6dbfe3406 MAINT: Remove _lib/_numpy_compat.py 7afba42dd ENH: optimize: redundancy removal - efficiently initialize A in Fortran order 0cce142eb Revert "ENH: optimize: redundancy removal - efficiently initialize A/B in Fortran order" 8bffb6208 ENH: optimize: redundancy removal - stop after finding expected redundancies 955369ce5 TST: optimize: test all redundancy removal routines cbaa7bd9a ENH: optimize: redundancy removal - get candidate basis columns more efficiently 939d51543 ENH: optimize: redundancy removal - supply (trivial) LU for initial basis f065d85ef ENH: optimize: redundancy removal - efficiently initialize A/B in Fortran order a678a2a35 ENH: optimize: redundancy removal replace solve_triangular w/ dtrsv As reported in gh-10722, solve_triangular can be quite slow. Replacing with direct call to dtrsv is faster. c0dc7fccc Merge pull request #11238 from rgommers/update-pybind11 cca68d33c BLD: update minimum pybind11 version to 2.4.0. 20598601f Improved error message for Wn …
im still getting crazy slowdowns using the new truncnorm from v1.5.0rc1. A sampler that uses the truncnorm in a joblib.Parallel process takes over 50min to produce 2000 samples whereas in v1.2.1 it took just over 1min @pvanmulbregt |
The 1.4.x releases of scipy seem to have resulted in greater than 100x slow-down of
stats.truncnorm.rvs
sampling relative to the 1.3.x versions:Reproducing code example:
With
scipy==1.3.3
With
scipy==1.4.0
Similar slowdown has also been observed with
scipy==1.4.1
.Scipy/Numpy/Python version information:
To reproduce the slow sampling behavior:
To reproduce the fast sampling behavior:
Other details of my environment:
- python=3.7.3 (compiled with Clang 8.0.0)
- platform=darwin_x86_64
- cpu=Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
The text was updated successfully, but these errors were encountered: