Commit Graph

1378 Commits

Author SHA1 Message Date
Sergey B Kirpichev 82ae9ffdb5 3.9-dev -> 3.9 2021-01-03 06:58:52 +03:00
Sergey B Kirpichev c62138cfb4 Apply fixes from the Travis CI build config validation 2020-10-03 05:27:33 +03:00
Sergey B Kirpichev 85cf16c5cb CI: Enable testing on CPython 3.9 2020-10-02 08:30:55 +03:00
Sergey B Kirpichev bbd6e02234 CI: provide pytest-cov arguments with PYTEST_ADDOPTS 2020-10-02 08:30:48 +03:00
Sergey B Kirpichev 59c1b7fde6 CI: reinstall setuptools globally (3.4 goes to the common build matrix) 2020-10-02 08:30:39 +03:00
Sergey B Kirpichev 401a652126 CI: Drop tests on arm64
This reverts c98b4d6.  I believe, for platform-independent
Python library these tests are not needed, even if we add
gmpy-enabled tests.  Right now this only enlarge the build
matrix and slowdown the testing process...
2020-10-02 08:30:02 +03:00
Sergey B Kirpichev f2be673aa8 CI: Set minimal pytest version (fixes testing in Travis-CI) 2020-10-02 08:29:37 +03:00
Fredrik Johansson 77c4c5e0ce Merge pull request #533 from MaxGaukler/fix-scalar-matmul
Fix scalar-matrix-multiplication for mpi * iv.matrix
2020-09-06 10:22:52 +02:00
Fredrik Johansson 6a675bf08e Merge pull request #537 from tminka/quad
QuadratureRule.summation adds the error across intervals
2020-06-08 09:29:40 +02:00
Fredrik Johansson 718b4a1457 Merge pull request #526 from MaxGaukler/pos
Implement unary plus for matrices (+M == M)
2020-06-08 09:27:59 +02:00
Tom Minka adb811b0f5 Added test 2020-05-20 12:45:07 +01:00
Tom Minka 6ef6ac44a9 Fixed broken link in README
Added pytest.ini
2020-05-20 12:37:36 +01:00
Tom Minka 51c63a27d4 QuadratureRule.summation adds the error across intervals 2020-05-15 15:14:45 +01:00
Maximilian Gaukler 5abc70fc9b Implement unary plus for matrices (+M == M rounded to current precision) 2020-04-24 15:10:02 +02:00
Maximilian Gaukler c2d2bf33ab Fix scalar-matrix-multiplication for mpi * iv.matrix 2020-03-24 12:23:07 +01:00
fredrik ffec62b29b Merge branch 'master' of github.com:fredrik-johansson/mpmath 2020-03-23 15:19:32 +01:00
fredrik 28973bc3ba slightly improve elliprj code 2020-03-23 15:19:19 +01:00
Fredrik Johansson deeb2a9cf4 Merge pull request #529 from klkuhlm/master
fixed indexing errors in inverse laplace transform algorithm, as pointed out by Mark Bakker
2020-03-22 18:01:02 +01:00
Fredrik Johansson b217369eee Merge pull request #525 from MaxGaukler/matmul
Support @ for matrix multiplication
2020-03-22 17:55:40 +01:00
klkuhlm c51e3e3dc8 fixed indexing errors in deHoog, Knight & Stokes inverse laplace transform algorithm, as pointed out by Mark Bakker 2020-03-22 09:05:47 -06:00
fredrik b80b8661b6 use integration as workaround where the algorithm for elliprj is not valid 2020-03-22 15:04:04 +01:00
Maximilian Gaukler 7a3bb2883d Support @ operator (PEP465) for matrix multiplication 2020-03-20 12:37:52 +01:00
Fredrik Johansson 411b74d0da Merge pull request #500 from cclauss/modernize-Python-2-codes
Use print() function in both Python 2 and Python 3
2020-02-20 12:06:07 +01:00
Fredrik Johansson c80fc1f55b Merge pull request #501 from ossdev07/arm_support
Adding Travis-Ci Support For Arm64
2020-02-20 12:05:28 +01:00
Fredrik Johansson a64ff99cf0 Merge pull request #502 from paulmasson/master
Modify period of cn
2020-02-20 12:05:06 +01:00
Paul Masson 4fc6783ade Modify period of cn 2020-01-01 15:58:07 -08:00
ossdev07 c98b4d6c73 Adding Travis-Ci Support For Arm64
Signed-off-by: ossdev07 <ossdev@puresoftware.com>
2019-12-30 12:26:57 +05:30
cclauss 15f68aa2f3 Use print() function in both Python 2 and Python 3
Legacy __print__ statements are syntax errors in Python 3 but __print()__ function works as expected in both Python 2 and Python 3.
2019-11-26 08:19:39 +01:00
Fredrik Johansson 981102736a Merge pull request #498 from paulmasson/patch-1
Update link to reference
2019-11-26 01:12:51 +01:00
Fredrik Johansson 67f3ca9446 Merge pull request #492 from cclauss/patch-1
Travis CI: Use production versions of CPython, pypy, pypy3
2019-11-26 01:12:21 +01:00
Paul Masson c7151a450c Update link 2019-11-22 16:16:25 -08:00
Christian Clauss 87bb8819c0 Travis CI: Use production versions of CPython, pypy, pypy3
Remove the hardcoding of out of date versions
2019-11-19 17:48:20 +01:00
Fredrik Johansson 64a33ea8e1 Merge pull request #463 from GeorgOstrovski/patch-1
Fix eig_sort(..., f="abs")
2019-09-05 20:01:52 +02:00
Fredrik Johansson 9688fb3452 Merge pull request #464 from GeorgOstrovski/patch-2
Fix docstring typo
2019-09-05 20:01:31 +02:00
Fredrik Johansson f115ce4ebb Merge pull request #466 from pv/sage-check
Enable sage backend by default only if SAGE_ROOT is set
2019-09-05 20:01:19 +02:00
Fredrik Johansson 3c5935fa37 Merge pull request #468 from thepith/master
Prevent division by zero
2019-09-05 19:59:00 +02:00
Pascal Hebbeker a61aa1d1e1 Prevent division by zero
Problem: `rnd.getrandbits` can result in 0, so that `b` could equal to 0.

This fix makes it that b is a pseudorandom number close, but not equal,
to zero.
2019-08-21 10:40:40 +02:00
Pauli Virtanen 84ca137ff8 Enable sage backend by default only if SAGE_ROOT is set
It's possible to install the Sage system as a normal Python package, as
e.g. in Fedora/Debian. In this case, presence of `sage.all` is not an
indicator whether the user is running Sage, and checking for 'SAGE_ROOT'
is more reliable.
2019-08-04 14:15:43 +03:00
Georg Ostrovski 9790c56e5c Fix docstring typo 2019-07-31 09:07:40 +01:00
Georg Ostrovski 4708e3c2ce Fix eig_sort(..., f="abs") 2019-07-31 08:38:45 +01:00
Fredrik Johansson ca36a7bfba Merge pull request #462 from sylee957/fix_docs
Polynomial doc rendering
2019-07-25 21:17:45 +02:00
S.Y. Lee 16bdffe621 Fix doc rendering 2019-07-26 03:44:22 +09:00
fredrik b8ea24aa1f add eta() implementing the Dedekind eta function 2019-07-16 15:59:34 +02:00
Fredrik Johansson ac5f60fd17 Merge pull request #456 from fchapoton/patch-1
remove unused variable tmp
2019-06-11 14:17:16 +09:00
Fredrik Johansson 9f650c1208 Merge pull request #454 from skirpichev/3.8
Enable testing on CPython 3.8
2019-06-11 14:16:21 +09:00
Sergey B Kirpichev 5d6f18b8e1 CPython 3.7 is available on xenial, use this 2019-04-21 19:50:52 +03:00
Frédéric Chapoton 47dce0439a remove unused variable tmp
as suggested by lgtm
2019-04-12 19:04:34 +02:00
Sergey B Kirpichev 0147fea4f7 Remove inaccessible logic in fsum/fdot 2019-03-20 14:58:43 +03:00
Sergey B Kirpichev 4ea5a4fc09 Exclude NotImplemented/NotImplementedError from the coverage 2019-03-20 14:58:02 +03:00
Sergey B Kirpichev 4990fb5cf3 Fix syntax warnings on CPython 3.8
Closes #444
2019-03-20 14:25:32 +03:00