Skip to content

docs: replace manual for loop in examples #6848

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 5 commits into from
Apr 29, 2025
Merged

Conversation

hrshya
Copy link
Contributor

@hrshya hrshya commented Apr 28, 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/binomial/cdf, stats/base/dists/binomial/entropy, stats/base/dists/binomial/kurtosis, stats/base/dists/binomial/logpmf, stats/base/dists/binomial/median and stats/base/dists/binomial/mean 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 Apr 28, 2025
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Apr 28, 2025

Coverage Report

Package Statements Branches Functions Lines
stats/base/dists/binomial/cdf $\color{green}267/267$
$\color{green}+100.00\%$
$\color{green}31/31$
$\color{green}+100.00\%$
$\color{green}3/3$
$\color{green}+100.00\%$
$\color{green}267/267$
$\color{green}+100.00\%$
stats/base/dists/binomial/entropy $\color{green}134/134$
$\color{green}+100.00\%$
$\color{green}16/16$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}134/134$
$\color{green}+100.00\%$
stats/base/dists/binomial/kurtosis $\color{green}178/178$
$\color{green}+100.00\%$
$\color{green}12/12$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}178/178$
$\color{green}+100.00\%$
stats/base/dists/binomial/logpmf $\color{green}287/287$
$\color{green}+100.00\%$
$\color{green}44/44$
$\color{green}+100.00\%$
$\color{green}3/3$
$\color{green}+100.00\%$
$\color{green}287/287$
$\color{green}+100.00\%$
stats/base/dists/binomial/mean $\color{green}176/176$
$\color{green}+100.00\%$
$\color{green}12/12$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}176/176$
$\color{green}+100.00\%$
stats/base/dists/binomial/median $\color{green}178/178$
$\color{green}+100.00\%$
$\color{green}12/12$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}178/178$
$\color{green}+100.00\%$

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

@kgryte kgryte added the Documentation Improvements, additions, or changes to documentation. label Apr 29, 2025
Copy link
Member

@kgryte kgryte left a comment

Choose a reason for hiding this comment

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

Left an initial comment.

@kgryte kgryte added Needs Changes Pull request which needs changes before being merged. and removed Needs Review A pull request which needs code review. labels Apr 29, 2025
hrshya and others added 3 commits April 29, 2025 11:42
Signed-off-by: Harsh <149176984+hrshya@users.noreply.github.com>
Signed-off-by: Athan <kgryte@gmail.com>
@kgryte kgryte removed the Needs Changes Pull request which needs changes before being merged. label Apr 29, 2025
@kgryte kgryte merged commit c1df69c into stdlib-js:develop Apr 29, 2025
11 checks passed
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. Statistics Issue or pull request related to statistical functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants