-
-
Notifications
You must be signed in to change notification settings - Fork 914
Closed
Closed
Copy link
Labels
BugSomething isn't working.Something isn't working.StatisticsIssue or pull request related to statistical functionality.Issue or pull request related to statistical functionality.
Description
Description
Encountered an error when evoking binomcoef(n, k) with n = 20000, k=5. The process hangs at 100% cpu utilization.
Computational speed for this call can be increased with memoization.
Here is an example for how it could be implemented:
https://github.com/stevenbunting/stdlib/pull/2/files
Related Issues
Related issues # , # , and # .
Questions
No.
Demo
No response
Reproduction
binomialTest(5, 20000, {
alpha: 0.05,
p: 0.05,
alternative: 'greater'
});Expected Results
To complete in a timely mannerActual Results
Hangs indefinitelyVersion
most recent
Environments
N/A
Browser Version
No response
Node.js / npm Version
No response
Platform
No response
Checklist
- Read and understood the Code of Conduct.
- Searched for existing issues and pull requests.
Metadata
Metadata
Assignees
Labels
BugSomething isn't working.Something isn't working.StatisticsIssue or pull request related to statistical functionality.Issue or pull request related to statistical functionality.