Skip to content

docs: replace manual for loop in examples #7122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 30, 2025

Conversation

hrshya
Copy link
Contributor

@hrshya hrshya commented May 30, 2025

Resolves none .

Description

What is the purpose of this pull request?

This pull request:

  • replaces manual for loop in examples for stats/base/dists/degenerate/* packages.

Related Issues

Does this pull request have any related issues?

This pull request:

  • resolves no 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.


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added Statistics Issue or pull request related to statistical functionality. Needs Review A pull request which needs code review. labels May 30, 2025
@hrshya hrshya added the Documentation Improvements, additions, or changes to documentation. label May 30, 2025
@stdlib-bot
Copy link
Contributor

stdlib-bot commented May 30, 2025

Coverage Report

Package Statements Branches Functions Lines
stats/base/dists/degenerate/cdf $\color{green}261/261$
$\color{green}+100.00\%$
$\color{green}19/19$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}261/261$
$\color{green}+100.00\%$
stats/base/dists/degenerate/entropy $\color{green}161/161$
$\color{green}+100.00\%$
$\color{green}7/7$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}161/161$
$\color{green}+100.00\%$
stats/base/dists/degenerate/logcdf $\color{green}247/247$
$\color{green}+100.00\%$
$\color{green}19/19$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}247/247$
$\color{green}+100.00\%$
stats/base/dists/degenerate/logpdf $\color{green}251/251$
$\color{green}+100.00\%$
$\color{green}19/19$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}251/251$
$\color{green}+100.00\%$
stats/base/dists/degenerate/logpmf $\color{green}249/249$
$\color{green}+100.00\%$
$\color{green}19/19$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}249/249$
$\color{green}+100.00\%$
stats/base/dists/degenerate/mean $\color{green}153/153$
$\color{green}+100.00\%$
$\color{green}5/5$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}153/153$
$\color{green}+100.00\%$
stats/base/dists/degenerate/median $\color{green}153/153$
$\color{green}+100.00\%$
$\color{green}5/5$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}153/153$
$\color{green}+100.00\%$

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

Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
Copy link
Member

@Planeshifter Planeshifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

(CI test failure was unrelated to changes in this PR and subsequently fixed.)

@Planeshifter Planeshifter added the Ready To Merge A pull request which is ready to be merged. label May 30, 2025
@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label May 30, 2025
@stdlib-bot
Copy link
Contributor

PR Commit Message

docs: replace manual `for` loop in examples

PR-URL: https://github.com/stdlib-js/stdlib/pull/7122

Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com>
Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>
Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>

Please review the above commit message and make any necessary adjustments.

@Planeshifter Planeshifter merged commit 776c7e4 into stdlib-js:develop May 30, 2025
28 checks passed
anandkaranubc pushed a commit to anandkaranubc/stdlib that referenced this pull request Jun 1, 2025
PR-URL: stdlib-js#7122

Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com>
Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>
Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements, additions, or changes to documentation. Ready To Merge A pull request which is ready to be merged. Statistics Issue or pull request related to statistical functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants