Skip to content

Add Hypergeometric1F1 and Hypergeometric2F1 - #19

Merged
MartinsMednis merged 1 commit into
mainfrom
hypergeometric-functions
Sep 14, 2026
Merged

MartinsMednis merged 1 commit into
mainfrom
hypergeometric-functions

Conversation

@MartinsMednis

Copy link
Copy Markdown
Collaborator

Closes the last open item in the standard-library gaps doc (Tier 2.4).

  • Hypergeometric1F1: defining series, Kummer's transformation for z < 0 to avoid catastrophic cancellation, capped at |z| <= 500
  • Hypergeometric2F1: defining series, restricted to |z| < 1 (its radius of convergence), 2000-term cap
  • Verified against CortexJS's own documented examples and against mpmath (temporary, verification-only) across several parameter combinations - caught and fixed a real cancellation bug for negative z before it shipped

772 tests pass (758 existing + 7 scope-isolation + 7 new), 1 skipped.

- Hypergeometric1F1: defining series, Kummer's transformation for
  z < 0 to avoid catastrophic cancellation, capped at |z| <= 500
- Hypergeometric2F1: defining series, restricted to |z| < 1 (its
  radius of convergence), 2000-term cap
- Verified against CortexJS's own documented examples and against
  mpmath across several parameter combinations
@MartinsMednis
MartinsMednis merged commit e425582 into main Sep 14, 2026
2 checks passed
@MartinsMednis
MartinsMednis deleted the hypergeometric-functions branch September 21, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant