Skip to content

feat: add C implementation for stats/base/dists/poisson/quantile#10845

Closed
parthodas23 wants to merge 1 commit intostdlib-js:developfrom
parthodas23:feat/poisson-quantile
Closed

feat: add C implementation for stats/base/dists/poisson/quantile#10845
parthodas23 wants to merge 1 commit intostdlib-js:developfrom
parthodas23:feat/poisson-quantile

Conversation

@parthodas23
Copy link
Contributor

Resolves #3794.

Description

What is the purpose of this pull request?

This pull request:

  • Adds a native C implementation for the Poisson distribution quantile function, exposed via a Node.js native add-on.

  • Implements benchmarking and testing for both C and JavaScript to ensure performance and accuracy.

  • Provides C examples and documentation to demonstrate usage and integrate the new API into the stdlib ecosystem.

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".

{{TODO: add disclosure if applicable}}


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added Statistics Issue or pull request related to statistical functionality. Good First PR A pull request resolving a Good First Issue. Needs Review A pull request which needs code review. labels Mar 9, 2026
@parthodas23 parthodas23 force-pushed the feat/poisson-quantile branch 2 times, most recently from 1eb5120 to f462c45 Compare March 10, 2026 06:06
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Mar 10, 2026

Coverage Report

Package Statements Branches Functions Lines
stats/base/dists/poisson/quantile $\color{red}368/370$
$\color{green}+99.46%$
$\color{red}48/49$
$\color{green}+97.96%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{red}368/370$
$\color{green}+99.46%$

The above coverage report was generated for the changes in this PR.

@parthodas23 parthodas23 force-pushed the feat/poisson-quantile branch from f462c45 to 4d9a09c Compare March 10, 2026 06:26
@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Good First PR A pull request resolving a Good First Issue. Statistics Issue or pull request related to statistical functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFC]: Add C implementation for @stdlib/stats/base/dists/poisson/quantile

2 participants