Replace Rmath hypergeometric with pure Julia implementation#203
Draft
andreasnoack wants to merge 1 commit intomasterfrom
Draft
Replace Rmath hypergeometric with pure Julia implementation#203andreasnoack wants to merge 1 commit intomasterfrom
andreasnoack wants to merge 1 commit intomasterfrom
Conversation
2 tasks
71cbc7c to
791f804
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #203 +/- ##
==========================================
+ Coverage 72.39% 74.27% +1.87%
==========================================
Files 22 22
Lines 1007 1372 +365
==========================================
+ Hits 729 1019 +290
- Misses 278 353 +75 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
1fb08c5 to
22aa7c9
Compare
22aa7c9 to
d6121e3
Compare
Port hypergeometric distribution functions from Ian Smith's VBA code, removing the dependency on Rmath for all 10 hyper functions (pdf, logpdf, cdf, ccdf, logcdf, logccdf, invcdf, invccdf, invlogcdf, invlogccdf). Add helper functions logfbit, lfbaccdif1, and ab_minus_cd to misc.jl for accurate Stirling correction and cross-product computation.
d6121e3 to
a6b520b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
logfbit,lfbaccdif1, andab_minus_cdtomisc.jlfor accurate Stirling correction and cross-product computationTest plan
RFunctions)(10,20,15),(50,100,80),(100,200,150)@inferred🤖 Generated with Claude Code