Commit Graph
6 Commits
Author SHA1 Message Date
jono 563fb440a3 refactor!: migrate to modern numpy API, patch root solving, and bump dependencies
Run Python Tests / test (3.10) (pull_request) Successful in 21s
Run Python Tests / test (3.12) (pull_request) Successful in 26s
Run Python Tests / test (3.14) (pull_request) Successful in 20s
- Drop support for Python 3.8.
- Bump minimum dependencies to `numpy>=2.0` and `numba>=0.60`.
- Replace legacy NumPy polynomial functions (polyder, polyadd, etc.) with
  the modern `numpy.polynomial.Polynomial` class for stable calculus and
  arithmetic operations.
- Remove `_strip_leading_zeros` as the modern API handles degree alignment
  and zero-trimming natively.
- Retain highest-to-lowest `self.coefficients` array to maintain compatibility
  with Numba and CUDA GPU kernels evaluating via Horner's method.
- Fix `TypeError` in `quadratic_solve` by evaluating `b.real >= 0` to safely
  support complex coefficients.
- Update `quadratic_solve` return type hint to `np.ndarray`.
2026-09-26 11:41:11 -04:00
jono 273631c3f4 Update Python version to 3.14 2026-09-26 15:02:03 +00:00
jono 2db6ef848a Add Python 3.14 to automatic tests 2026-09-26 15:02:03 +00:00
jono 30056dc2b5 Only run automated tests on PR
Run Python Tests / test (3.10) (pull_request) Successful in 11s
Run Python Tests / test (3.12) (pull_request) Successful in 14s
Run Python Tests / test (3.8) (pull_request) Successful in 10s
Publish Python Package to PyPI / deploy (push) Has been cancelled
2025-06-16 19:40:26 -04:00
jono 2cf2126b90 Added Workflow to automatically deploy to pypi
Run Python Tests / test (3.10) (push) Successful in 10s
Run Python Tests / test (3.12) (push) Successful in 9s
Publish Python Package to PyPI / deploy (push) Successful in 28s
Run Python Tests / test (3.8) (push) Successful in 10s
2025-06-16 19:28:50 -04:00
jono 2dc39b6ae3 Initial Commit
Run Python Tests / test (3.8) (push) Failing after 3s
Run Python Tests / test (3.10) (push) Failing after 12s
Run Python Tests / test (3.12) (push) Failing after 2m0s
2025-06-16 18:40:06 -04:00